Search:

Type: Posts; User: Matticus

Search: Search took 0.05 seconds.

  1. Replies
    31
    Views
    4,377

    Now you're starting to look like a troll. ...

    Now you're starting to look like a troll.

    Count the opening braces in your code ( { ).
    Count the closing braces in your code ( } ).

    Tell us how many of each you have.
  2. Replies
    31
    Views
    4,377

    That's fine, but we have not even gotten to any...

    That's fine, but we have not even gotten to any programming related advice. We're trying to start by making sure the code you posted has the correct syntax so you can compile it. I told you exactly...
  3. Replies
    31
    Views
    4,377

    Indeed. Me: "The answer to question #4 is...

    Indeed.



    Me: "The answer to question #4 is 'B'."

    You: "How do I work this pencil?"
  4. Replies
    31
    Views
    4,377

    Well, that's funny. You didn't add the closing...

    Well, that's funny. You didn't add the closing brace after the loop like I said (I even gave you the line number).
    Nor did you take the advice in post #8 about "main()" returning an int, not void.
  5. Replies
    31
    Views
    4,377

    Go through your code carefully and make sure...

    Go through your code carefully and make sure there is a closing brace for every opening brace.
    If you are completely sure they are all there, try rebuilding the project and running it again.
    If it...
  6. Replies
    31
    Views
    4,377

    Proper indentation is essential to writing good...

    Proper indentation is essential to writing good programs. Since you're new here, I'll give you a freebie this time. Here is your code with proper indentation.



    #include<iostream.h>

    void...
  7. Replies
    31
    Views
    4,377

    Post your updated code, and tell us how it did...

    Post your updated code, and tell us how it did not work.
  8. Replies
    31
    Views
    4,377

    do-while...

    do-while loop

    And try not to cross-post.
Results 1 to 8 of 8