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

Search:

Type: Posts; User: Arjay

Search: Search took 0.24 seconds.

  1. Replies
    19
    Views
    11,242

    Re: If else statement displaying both options.

    Not sure what there is to despise about forums where volunteers help folks solve issues without compensation or in many cases, thanks.
  2. Replies
    19
    Views
    11,242

    Re: If else statement displaying both options.

    Initialize your variables means to declare them and then set them. You can do this all in one step. In C++, initializing variables prevents a variable from starting out with garbage and it's a good...
  3. Replies
    19
    Views
    11,242

    Re: If else statement displaying both options.

    When you don't understand what something means, try to look it up in msdn. Do a search in bing or google for "std::cin:ignore".

    In the results look for something that contains msdn in the url.
    ...
  4. Replies
    19
    Views
    11,242

    Re: If else statement displaying both options.

    In c++ always initialize your variables. Also step through your code or use trace statements to see what is wrong. Btw what does cin.ignore do?
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured