Search:

Type: Posts; User: Viperz0r

Search: Search took 0.01 seconds.

  1. Thread: IF statements

    by Viperz0r
    Replies
    11
    Views
    1,847

    I had to use: instead of iostream...

    I had to use:

    <iostream>
    instead of
    iostream

    thx for all the replies.
  2. Thread: IF statements

    by Viperz0r
    Replies
    11
    Views
    1,847

    The error line is: 'cout' undeclared (first use...

    The error line is:
    'cout' undeclared (first use this function).

    This is the hole code:


    #include iostream

    using namespace std;
  3. Thread: IF statements

    by Viperz0r
    Replies
    11
    Views
    1,847

    Still doesnt work, look at my post again. The...

    Still doesnt work, look at my post again. The program (dev-C++) makes an error at this line, and i really can't see whats wrong. I tried adding \n in the end, but that doesnt help.



    ...
  4. Thread: IF statements

    by Viperz0r
    Replies
    11
    Views
    1,847

    Hmm.. It's still not working, the program says...

    Hmm.. It's still not working, the program says there is something wrong with this line:



    cout<<"Please input your age: ";


    I tried to fix by adding \n, but it's still not working.

    Here's...
  5. Thread: IF statements

    by Viperz0r
    Replies
    11
    Views
    1,847

    IF statements

    Hey all.

    I'm new to programming, and im currently at lesson 2 about If statements. I used the example given in the thread, and tried to create one very similar, but it's not made correctly.
    ...
Results 1 to 5 of 5