0_0_19428889_25254.cpp:5:1: error: 'string' does not name a type
string s[10005], text;
^
0_0_19428889_25254.cpp: In function 'int main()':
0_0_19428889_25254.cpp:20:13: error: 's' was not declared in this scope
s[i] = (string) tmp;
^
0_0_19428889_25254.cpp:20:21: error: 'string' was not declared in this scope
s[i] = (string) tmp;
^
0_0_19428889_25254.cpp:20:21: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:39:0,
from 0_0_19428889_25254.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:62:33: note: 'std::string'
typedef basic_string<char> string;
^
0_0_19428889_25254.cpp:23:9: error: 'text' was not declared in this scope
text = (string) tmp;
^
0_0_19428889_25254.cpp:23:17: error: 'string' was not declared in this scope
text = (string) tmp;
^
0_0_19428889_25254.cpp:23:17: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:39:0,
from 0_0_19428889_25254.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:62:33: note: 'std::string'
typedef basic_string<char> string;
^
0_0_19428889_25254.cpp:36:24: error: expected ';' before 'tmp'
string tmp;
^
0_0_19428889_25254.cpp:40:31: error: 's' was not declared in this scope
if(tmp == s[i])
^
|