0_0_26349690_17089.cpp:2:6: error: expected nested-name-specifier before '&' token
using namespace std;
^
0_0_26349690_17089.cpp:2:21: error: expected identifier before '&' token
using namespace std;
^
0_0_26349690_17089.cpp:2:26: error: expected constructor, destructor, or type conversion before ';' token
using namespace std;
^
0_0_26349690_17089.cpp:2:27: error: 'std' does not name a type
using namespace std;
^
0_0_26349690_17089.cpp:4:5: error: 'nbsp' declared as reference but not initialized
int main()
^
0_0_26349690_17089.cpp: In function 'int main()':
0_0_26349690_17089.cpp:6:30: error: 'nbsp' declared as reference but not initialized
bool b[26],flag;
^
0_0_26349690_17089.cpp:6:35: error: 'b' was not declared in this scope
bool b[26],flag;
^
0_0_26349690_17089.cpp:6:41: error: 'flag' was not declared in this scope
bool b[26],flag;
^
0_0_26349690_17089.cpp:7:30: error: conflicting declaration 'char& nbsp'
char a,c,temp[4];
^
0_0_26349690_17089.cpp:6:30: note: previous declaration as 'bool& nbsp'
bool b[26],flag;
^
0_0_26349690_17089.cpp:7:35: error: 'a' was not declared in this scope
char a,c,temp[4];
^
0_0_26349690_17089.cpp:7:37: error: 'c' was not declared in this scope
char a,c,temp[4];
^
0_0_26349690_17089.cpp:7:39: error: 'temp' was not declared in this scope
char a,c,temp[4];
^
0_0_26349690_17089.cpp:8:29: error: conflicting declaration 'int& nbsp'
int d=0,i,n,m,t;
^
0_0_26349690_17089.cpp:6:30: note: previous declaration as 'bool& nbsp'
bool b[26],flag;
^
0_0_26349690_17089.cpp:8:34: error: 'd' was not declared in this scope
int d=0,i,n,m,t;
^
0_0_26349690_17089.cpp:8:38: error: 'i' was not declared in this scope
int d=0,i,n,m,t;
^
0_0_26349690_17089.cpp:8:40: error: 'n' was not declared in this scope
int d=0,i,n,m,t;
^
0_0_26349690_17089.cpp:8:42: error: 'm' was not declared in this scope
int d=0,i,n,m,t;
^
0_0_26349690_17089.cpp:8:44: error: 't' was not declared in this scope
int d=0,i,n,m,t;
^
0_0_26349690_17089.cpp:9:31: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_26349690_17089.cpp:9:31: note: suggested alternative:
In file included from 0_0_26349690_17089.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_26349690_17089.cpp:12:73: error: break statement not within loop or switch
break;
^
0_0_26349690_17089.cpp:14:73: error: 'memset' was not declared in this scope
memset(b,false,sizeof(b));
^
0_0_26349690_17089.cpp:28:73: error: 'else' without a previous 'if'
else
^
0_0_26349690_17089.cpp:31:49: error: 'cout' was not declared in this scope
cout<<"Program #"<<++d<<endl;
^
0_0_26349690_17089.cpp:31:49: note: suggested alternative:
In file included from 0_0_26349690_17089.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_26349690_17089.cpp:31:78: error: 'endl' was not declared in this scope
cout<<"Program #"<<++d<<endl;
^
0_0_26349690_17089.cpp:31:78: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_26349690_17089.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_26349690_17089.cpp:44:25: error: expected '}' at end of input
}
^
|