Thread: Parsing error : HELP!

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    37

    Parsing error : HELP!

    Hello:

    I declared: int num[25] and int bis[10][10] in RadiateView.h.

    With these declared variables, the program runs fine.

    BUT, when I right click on the dialog, I get a 'parsing error' regarding the variables.

    What is the correct declaration for such variables ?

    Any suggestion will be very much appeciated.

    Kind regards to all.

    Frandy

  2. #2
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    367
    What "dialog" are you right clicking on? And if your program works fine, what is the problem? Is it just the debugging of these variables you are having problems with?
    Be a leader and not a follower.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    37
    I right-click on the main dialog (Base Class : CFormView), to add a variable to an edit box through the Wizard .
    To get rid of the Parsing Error that shows up ('Parsing Error : Expected ";" Input line : "int nbr[25];") I hit its OK button but the main dialog disappears at the same time. That's the problem !
    I guess that the declaration of my arrays is not syntactically correct. Isn't it ? But how should they be modified ?

    Thanks for your help.

    Frandy

  4. #4
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    367
    Hmmm, post the code as an attachment and I will try and have a quick look.
    Be a leader and not a follower.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need sth about parsing
    By Masterx in forum C++ Programming
    Replies: 6
    Last Post: 11-07-2008, 12:55 AM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  3. draw tree graph of yacc parsing
    By talz13 in forum C Programming
    Replies: 2
    Last Post: 07-23-2006, 01:33 AM
  4. Parsing for Dummies
    By MisterWonderful in forum C++ Programming
    Replies: 4
    Last Post: 03-08-2004, 05:31 PM
  5. I hate string parsing with a passion
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 03-19-2002, 07:30 PM