0_0_29474084_6526.cpp:3:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_29474084_6526.cpp:3:21: error: expected identifier before '&' token
using namespace std;
^
0_0_29474084_6526.cpp:3:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_29474084_6526.cpp:3:27: error: 'std' does not name a type
using namespace std;
^
0_0_29474084_6526.cpp:4:5: error: 'nbsp' declared as reference but not initialized
int re(80);
^
0_0_29474084_6526.cpp:4:12: error: expected constructor, destructor, or type conversion before '(' token
int re(80);
^
0_0_29474084_6526.cpp:5:5: error: redefinition of 'int& nbsp'
int main()
^
0_0_29474084_6526.cpp:4:5: note: 'int& nbsp' previously declared here
int re(80);
^
0_0_29474084_6526.cpp: In function 'int main()':
0_0_29474084_6526.cpp:9:25: error: 'string' was not declared in this scope
string temp;
^
0_0_29474084_6526.cpp:9:25: 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++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_29474084_6526.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_29474084_6526.cpp:9:37: error: 'temp' was not declared in this scope
string temp;
^
0_0_29474084_6526.cpp:10:29: error: 'nbsp' declared as reference but not initialized
int i,l,j;
^
0_0_29474084_6526.cpp:10:34: error: 'i' was not declared in this scope
int i,l,j;
^
0_0_29474084_6526.cpp:10:36: error: 'l' was not declared in this scope
int i,l,j;
^
0_0_29474084_6526.cpp:10:38: error: 'j' was not declared in this scope
int i,l,j;
^
0_0_29474084_6526.cpp:11:31: error: 'cin' was not declared in this scope
while(cin>>temp)
^
0_0_29474084_6526.cpp:11:31: note: suggested alternative:
In file included from 0_0_29474084_6526.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
0_0_29474084_6526.cpp:16:73: error: 'cout' was not declared in this scope
cout<<endl;
^
0_0_29474084_6526.cpp:16:73: note: suggested alternative:
In file included from 0_0_29474084_6526.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_29474084_6526.cpp:16:79: error: 'endl' was not declared in this scope
cout<<endl;
^
0_0_29474084_6526.cpp:16:79: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_29474084_6526.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
0_0_29474084_6526.cpp:17:73: error: 're' was not declared in this scope
re=80;
^
0_0_29474084_6526.cpp:18:73: error: continue statement not within a loop
continue;
^
0_0_29474084_6526.cpp:22:76: error: 're' was not declared in this scope
if(re!=80)
^
0_0_29474084_6526.cpp:24:97: error: 'cout' was not declared in this scope
cout<<endl;
^
0_0_29474084_6526.cpp:24:97: note: suggested alternative:
In file included from 0_0_29474084_6526.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_29474084_6526.cpp:24:103: error: 'endl' was not declared in this scope
cout<<endl;
^
0_0_29474084_6526.cpp:24:103: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_29474084_6526.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
0_0_29474084_6526.cpp:27:73: error: 'else' without a previous 'if'
else
^
0_0_29474084_6526.cpp:28:97: error: 'cout' was not declared in this scope
cout<<"--------------------------------------------------------------------------------"<<endl;
^
0_0_29474084_6526.cpp:28:97: note: suggested alternative:
In file included from 0_0_29474084_6526.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_29474084_6526.cpp:28:187: error: 'endl' was not declared in this scope
cout<<"--------------------------------------------------------------------------------"<<endl;
^
0_0_29474084_6526.cpp:28:187: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_29474084_6526.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
0_0_29474084_6526.cpp:29:97: error: 're' was not declared in this scope
re=80;
^
0_0_29474084_6526.cpp:30:73: error: continue statement not within a loop
continue;
^
0_0_29474084_6526.cpp:32:55: error: 're' was not declared in this scope
if(l>=re)
^
0_0_29474084_6526.cpp:34:73: error: 'cout' was not declared in this scope
cout<<endl;
^
0_0_29474084_6526.cpp:34:73: note: suggested alternative:
In file included from 0_0_29474084_6526.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_29474084_6526.cpp:34:79: error: 'endl' was not declared in this scope
cout<<endl;
^
0_0_29474084_6526.cpp:34:79: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_29474084_6526.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
0_0_29474084_6526.cpp:36:73: error: 're' was not declared in this scope
re=80-l;
^
0_0_29474084_6
|