0_0_37920548_7329.cpp: In function 'int main()':
0_0_37920548_7329.cpp:3:2: error: 'string' was not declared in this scope
string s1,s2;
^
0_0_37920548_7329.cpp:3:2: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37920548_7329.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stringfwd.h:62:33: note: 'std::string'
typedef basic_string<char> string;
^
0_0_37920548_7329.cpp:4:8: error: 'cin' was not declared in this scope
while(cin>>s1 && s1!="#"){
^
0_0_37920548_7329.cpp:4:8: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:74:0,
from 0_0_37920548_7329.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
0_0_37920548_7329.cpp:4:13: error: 's1' was not declared in this scope
while(cin>>s1 && s1!="#"){
^
0_0_37920548_7329.cpp:5:8: error: 's2' was not declared in this scope
cin>>s2;
^
|