[ create a new paste ] login | about

Link: http://codepad.org/XAZg1pNC    [ raw code | output | fork ]

C++, pasted on Dec 8:
1
2
3
4
5
6
7
~/Desktop$ g++ vd.cpp -o vd
vd.cpp: In constructor Gach::Gach(char*, char*, int, int, int, float):
vd.cpp:36: error: strdup was not declared in this scope
vd.cpp: In copy constructor Gach::Gach(const Gach&):
vd.cpp:44: error: strdup was not declared in this scope
vd.cpp: In function int main():
vd.cpp:126: error: strcmp was not declared in this scope


Output:
1
2
3
Line 2: error: '$' in identifier or number
Line 2: error: stray '\342' in program
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: