Search:

Type: Posts; User: C++programming

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,092

    Printing?

    Sorry if this is a stupid question, but I was wondering.
    Is it possible to print something from a program. For example, say I would like to display "Lala" on the screen and then print it out. Is it...
  2. Replies
    15
    Views
    2,042

    On the last else statement you forgot to close it...

    On the last else statement you forgot to close it so it won't work unless you do this :



    ....
    else
    {
    cout<<"You are really old"; //executed if no other statement is executed
    [b]}[b]...
  3. Replies
    15
    Views
    2,042

    Actually, is the header file, not...

    Actually, <conio.h> is the header file, not <concio.h>

    And, as for cin.get(), it goes right before the return 0;

    The reason for using two is because it waits for enter to be pressed, but enter...
  4. Replies
    15
    Views
    2,042

    I had this problem A LOT before I figured out...

    I had this problem A LOT before I figured out what was wrong. First, cin,get(); is not correct. It should be cin.get();

    Next, what is happening is cin.get(); waits for someone to press [ENTER],...
  5. Replies
    2
    Views
    1,071

    Thanks so much!

    Thanks so much!
  6. Replies
    2
    Views
    1,071

    Calculator

    I tried to make a very simple calculator. It works as such :

    Open the file...
    Hit [ENTER]....
    Type in one (1) number
    [Enter]
    Type in addition sign : +
    [enter]
    type in another number
    [enter]
  7. I don't know what you should do about that...

    I don't know what you should do about that problem. I generally use cin.get(); to wait for a keypress. Perhaps your getch() is the problem? I don't know about that because I am also new. However, and...
  8. Replies
    1
    Views
    847

    Pointers

    Hi Everyone! Any help on this one would be creatly appreciated :

    I've read the tutorial on the site and checked the FAQ but I still don't understand the purpose of pointers.

    Sorry if this is...
Results 1 to 8 of 8