CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Arjay

Search: Search took 0.29 seconds.

  1. Re: Using a char as the control variable in a loop.

    Notice the difference it both approaches. One approach requires that you press the enter key after each key is pressed, while the other approach doesn't. Experiment and understand both approaches...
  2. Re: Using a char as the control variable in a loop.

    Reading up on this in msdn. Console.Read() doesn't return until the enter key is pressed (then the contents of the while loop are executed for each character in the read buffer).

    What you want is...
  3. Re: Using a char as the control variable in a loop.

    Step through the code in a debugger and see what the values of c are. Or display what c is to the console window.
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured