Error End of OutPut

This is a discussion on Error End of OutPut within the C++ Programming forums, part of the General Programming Boards category; I just want to clear somthing up about what this error means, pharse error:: ERROR END OF OUTPUT:: Am i ...

  1. #1
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479

    Error End of OutPut

    I just want to clear somthing up about what this error means,

    pharse error:: ERROR END OF OUTPUT::

    Am i correct in saying that all this means is a brace is missing from the end of a function like this for example:

    Code:
    void example
    {
    cout << "Hello << endl;
                       // brace would go here
    Or does it mean somthing diffrent?

    The thing is I have written a textgame that contains over 3000 lines of code, and I compiled it last night and I can't figure out what the error means, if I am correct then I can look through my functions and take a look...

    thanks in advance

  2. #2
    C/C++Newbie Antigloss's Avatar
    Join Date
    May 2005
    Posts
    212
    void example()
    {
    cout << "Hello" << endl;

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479
    Thanks Antigloss I noticed my typos when I pressed submit!!
    But I am still unsure what the error means

  4. #4
    Registered User mitakeet's Avatar
    Join Date
    Jun 2005
    Location
    Maryland, USA
    Posts
    212
    Post ALL your code.

    Free code: http://sol-biotech.com/code/.

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw

  5. #5
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    Sounds like the perfect opportunity to learn a new skill, debugging. I'd start by commenting out larger and larger segments of the code until I could get it to compile. The last segment I commented out would then have a high probability of containing the culprit, and I could repeat the process until I could get it down to a line or two to look at in detail. That technique works the vast majority of the time when I get in this mess---usually when I'm cleaning out debugging code and zap one too many curly braces, etc.
    You're only born perfect.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. code output...
    By roaan in forum C Programming
    Replies: 6
    Last Post: 07-03-2009, 02:22 AM
  2. Help for my output array
    By qwertysingh in forum C Programming
    Replies: 1
    Last Post: 02-17-2009, 02:08 PM
  3. Replies: 4
    Last Post: 11-30-2005, 03:44 PM
  4. Formatting output into even columns?
    By Uncle Rico in forum C Programming
    Replies: 2
    Last Post: 08-16-2005, 05:10 PM
  5. Output problems with structures
    By Gkitty in forum C Programming
    Replies: 1
    Last Post: 12-16-2002, 04:27 AM

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