ok thanks.
The stdio part was automatically placed by Dev-C++. I have removed it, and the code is still working.
Thanks a lot
User Profile
Collapse
-
What do I do wrong with this class
Hello,
I am trying to use a class with C++ but when i try to compile it it only sais parse error:
10 main.cpp
parse error before `{'
Here is the code:
...Code:#include <stdio.h> #include <iostream.h> using namespace std; int main() { return 0; } class ops:{ public: char osname;
No activity results to display
Show More
Leave a comment: