Results 1 to 3 of 3

Thread: huh?

  1. #1

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919

    huh?

    Code:
    class learn {
    	vector <char *> data;.....};
    c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\C++\Contest\thing\store.cpp(7): error C2143: syntax error : missing ';' before '<'

    what?
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

  2. #2
    Hyperactive Member Warmaster199's Avatar
    Join Date
    Aug 2000
    Location
    Canada
    Posts
    306
    Code:
    class learn {
    	vector (char *) data;.....};
    Try to use "()" instead of "<>". That should do it, but I could be wrong...
    Designer/Programmer of the Comtech Operating System(CTOS)

  3. #3

    Thread Starter
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    that didnt fix it, i got it though

    had to add

    using namespace std;

    woops
    Visit www.fragblast.com
    Gaming, forums, and a online RPG/Battle system




    (__Flagg) DOT NET? is this a Hindi Dating service?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width