User Profile

Collapse

Profile Sidebar

Collapse
mrikka
mrikka
Last Activity: Feb 26 '08, 03:34 PM
Joined: Feb 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mrikka
    replied to What do I do wrong with this class
    in C
    ok thanks.
    The stdio part was automatically placed by Dev-C++. I have removed it, and the code is still working.
    Thanks a lot
    See more | Go to post

    Leave a comment:


  • mrikka
    started a topic What do I do wrong with this class
    in C

    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;
    ...
    See more | Go to post
No activity results to display
Show More
Working...