Thread: UNKO errors

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    UNKO errors

    Ok...here is part of the newest thing i'm working on, but I keep geting some errors. I'm only postung the main .cpp file of it and you will see that it is no where near finished (I just started it today) and that I am still experimenting with a few things...

    Here are my unko errors...
    Code:
    (152) : error C2143: syntax error : missing ';' before 'return'
    (153) : error C2143: syntax error : missing ';' before '}'
    (153) : error C2143: syntax error : missing ';' before '}'
    (153) : error C2143: syntax error : missing ';' before '}'
    (166) : error C2143: syntax error : missing ';' before '{'
    (166) : error C2447: missing function header (old-style formal list?)
    This will probably be some silly thing on my part, but we'll see...
    Last edited by face_master; 01-25-2002 at 06:44 AM.

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    One thing to try, in your APP_DlgProc, there are more "}" characters then "{". Also, in the same routine, you are not "break"ing your switch choices - is that what you intend?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    yes, I had a problem with the beaks. All the time it came up with an error saying that I had placed 'illegal breaks'. Well, I think it must have been where I put them and I will re-do them so they're not a problem at the moment. I will check more lose braces.

    Thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 03:11 PM
  2. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  3. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  4. Help me with these errors... :-(
    By major_small in forum C++ Programming
    Replies: 6
    Last Post: 09-07-2003, 08:18 PM
  5. errors in class(urgent)
    By ayesha in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2001, 06:51 PM