CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    102

    Whats the best version of cin to use?

    If I want to pause the program until the user hits the ENTER key, what is the best version of cin to use. Also, I'd like to have the input queue cleared afterwards.

    Thanks!

    Sorry for the simple question, but I've packed away all my C++ books and I'm a bit rusty

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Whats the best version of cin to use?

    Here is one way to do it.

    http://www.codeguru.com/cpp/misc/mis...le.php/c15893/

    Regards,

    Paul McKenzie

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