CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    201

    Tons of errors, I don't see why.

    Derp.
    Last edited by realchamp; April 5th, 2012 at 12:02 PM.

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Tons of errors, I don't see why.

    You're trying to use >> on an output stream. You should be using << instead.

  3. #3
    Join Date
    Apr 2009
    Location
    Netherlands
    Posts
    91

    Re: Tons of errors, I don't see why.

    You really shouldn't be using goto here, its bad practise. Use a loop for what you are trying to do.

  4. #4
    Join Date
    Feb 2009
    Posts
    201

    Re: Tons of errors, I don't see why.

    Lindley that fixed it, thanks!

    AlastrionaAdair:
    How can I do that?

  5. #5
    Join Date
    Apr 2009
    Location
    Netherlands
    Posts
    91

    Re: Tons of errors, I don't see why.

    Quote Originally Posted by realchamp View Post
    Lindley that fixed it, thanks!

    AlastrionaAdair:
    How can I do that?
    Search for "c++ loops" or "c++ while" and you should find plenty of useful information. It's also one of the first things most tutorials and books about c++ cover, so there should be plenty of infortmation regarding loops available to you.

  6. #6
    Join Date
    Feb 2009
    Posts
    201

    Re: Tons of errors, I don't see why.

    Okay. I will go google it!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured