parse error

This is a discussion on parse error within the Game Programming forums, part of the General Programming Boards category; were is the parse error befor '<' cout<<board[1][1]<<""<<board[1][2]<<""<<board[1][3]<<endl;...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    224

    parse error

    were is the parse error befor '<'


    cout<<board[1][1]<<""<<board[1][2]<<""<<board[1][3]<<endl;

  2. #2
    Registered User Strider's Avatar
    Join Date
    Aug 2001
    Posts
    149
    Looks OK but where is the rest of the code. Sometimes the line the compiler points to is not the cause. A misplaced semi-colon can reek havoc on your code. Post the entire file and I might be able to give you an answer.

    David
    One Ring to rule them all, One Ring to find them,
    One Ring to bring them all and in the darkness bind them
    In the Land of Mordor where the Shadows lie.

  3. #3
    bobish
    Guest
    why do you have those 2 sets of quotes? why don't you just write:
    cout<<board[1][1]<<board[1][2]<<board[1][3]<<endl;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  2. How to monitor process creation?
    By markiz in forum Windows Programming
    Replies: 31
    Last Post: 03-17-2008, 02:39 PM
  3. Using VC Toolkit 2003
    By Noobwaker in forum Windows Programming
    Replies: 8
    Last Post: 03-13-2006, 06:33 AM
  4. C++ compilation issues
    By Rupan in forum C++ Programming
    Replies: 1
    Last Post: 08-22-2005, 05:45 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 12:10 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21