One more thing...

This is a discussion on One more thing... within the C++ Programming forums, part of the General Programming Boards category; find the lines indicated, often double clicking on the error statement will highlight the indicated line. Then look at the ...

  1. #16
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    find the lines indicated, often double clicking on the error statement will highlight the indicated line. Then look at the involved line and maybe one or two lines before. This type of an error statement often means an unmatched set of round () or curly {} brackets or a ; where there shouldn't be one, etc. It is a pretty common error, and learning how to handle it yourself will be necessary to get beyond the basics of writing C++.

    It is very difficult for anyone to count down to line 163 by hand to find exactly where to look. If you want someone to help look at the lines specifically, then please indicate which lines are involved by commenting them somehow----for example by placing a row of //////////////////above, beside, below the involved line so we can see it. Excpecting someone to copy and compile your code to do this on their own will dramatically reduce your chances of getting assistance.

  2. #17
    Registered User
    Join Date
    Oct 2002
    Posts
    29
    i did want someone to compile it them selves. I just wanted help.

    line 172 is the very last line. line163 is the line with default in it.

    Thanks anyways
    Talitore - Using DEV-C++

  3. #18
    Registered User
    Join Date
    Oct 2002
    Posts
    29
    ok, i did what you said but i still have one error. One stupid little error!!!

    it is saying parse error on 163 still.

    163 it the line with default in it.

    I dont see an error, do you?

    Thanks
    Talitore - Using DEV-C++

  4. #19
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    you should use a colon, not a semicolon after the keyword default

    see how easy that was!

  5. #20
    Registered User
    Join Date
    Oct 2002
    Posts
    29

    YEAAAA!!!

    Never mind i got it to work. Thanks everyone who helped. I appreciate it.

    Talitore - Using DEV-C++

  6. #21
    Registered User
    Join Date
    Oct 2002
    Posts
    29
    Jeese dont bite my friggin head off im just learning. And i saw that myself when i was looking through my resources.

    Jerk
    Talitore - Using DEV-C++

  7. #22
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    Congratulations!

    Try not to be so sensitive. Using this medium it is impossible to interpret mood, etc. by words alone unless someone is using inflamatory language or the emoticons--and since I detest emoticons I don't use them, although I accept them as standard fare for this board.

    Learning how to ask for help is part of the process of receiving helpful feedback and making it as easier for those providing assistance will improve your chances of getting it.

  8. #23
    Registered User
    Join Date
    Oct 2002
    Posts
    29
    yea, but he just came out and said it like i was stupid or something
    Talitore - Using DEV-C++

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pause/idle thing
    By freedik in forum Windows Programming
    Replies: 13
    Last Post: 08-22-2003, 09:46 AM
  2. A very strange thing
    By gustavosserra in forum C++ Programming
    Replies: 4
    Last Post: 04-15-2003, 12:43 PM
  3. most challenging thing to program
    By volk in forum A Brief History of Cprogramming.com
    Replies: 52
    Last Post: 03-28-2003, 02:56 PM
  4. newbie needs help comprehending simple thing
    By A helpless one in forum C++ Programming
    Replies: 6
    Last Post: 12-16-2002, 08:23 PM
  5. PingPong But how to make 2 thing at the same time..
    By Gugge in forum C Programming
    Replies: 5
    Last Post: 04-02-2002, 05:13 PM

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