prog.cpp: In function ‘int main()’:
prog.cpp:13:10: error: expected unqualified-id before ‘char’
std::char str2[100] = "3.14159";
^
prog.cpp:13:10: error: expected ‘;’ before ‘char’
prog.cpp:14:10: error: expected unqualified-id before ‘char’
std::char str3[100] = "31337 with words";
^
prog.cpp:14:10: error: expected ‘;’ before ‘char’
prog.cpp:18:28: error: ‘str2’ was not declared in this scope
int myint2 = std::atoi(str2);
^
prog.cpp:19:28: error: ‘str3’ was not declared in this scope
int myint3 = std::atoi(str3);
^