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

Search:

Type: Posts; User: Sensei Nacho

Search: Search took 0.09 seconds.

  1. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    Sorry, I despise forums and only did this one to get help from the community because I thought it would be very useful, so I had no idea about things like this.
  2. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    So if I want the variable to be something the user enters, how do I initialize it?
  3. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    As far as I can tell, in a console program, it makes it so enter doesn't close the console.
  4. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    How do I do this?
  5. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    What do these mean?
  6. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    // Practice.cpp : Defines the entry point for the console application.
    //

    #include "stdafx.h"
    #include <iostream>

    using namespace std;

    int main()
    // Asking for a number
  7. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    Thanks but now it only displays "That is a small number.". What am I doing wrong?
  8. Replies
    19
    Views
    11,697

    Re: If else statement displaying both options.

    OK thanks, but now it only displays "That is a small number."
  9. Replies
    19
    Views
    11,697

    If else statement displaying both options.

    Hi, I am new to coding and have a question with my if else statement. This is a VERY simple program that I have made something like in Javascript before, but when I do it in C++ it does not work...
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured