GP32 What's Wrong With This Code (compiling Errors)?


Azure posted on Aug 8 2004 at 03:44 AM said:
I fixed them, now it's this:
compilingerrors3.jpg
Before your main function but not within you class declaration add this line.

int account::numberofaccounts=0;

static members must be declared and initalized out of the class.
 

Attachments

  • compilingerrors3.jpg
    compilingerrors3.jpg
    13.8 KB · Views: 156
  • compilingerrors3.jpg
    compilingerrors3.jpg
    13.8 KB · Views: 167
  • compilingerrors3.jpg
    compilingerrors3.jpg
    13.8 KB · Views: 154
Last edited by a moderator:
Back
Top