Search:

Type: Posts; User: Chewbacca

Search: Search took 0.01 seconds.

  1. Thread: endl vs \n

    by Chewbacca
    Replies
    5
    Views
    3,545

    Ok thankyou. I'll wait till I get further into...

    Ok thankyou. I'll wait till I get further into the book to find out about the differences.
  2. Replies
    4
    Views
    809

    I see that does seem to be the case as it goes on...

    I see that does seem to be the case as it goes on to show how you can do additions and other similar things aswell :)
  3. Thread: endl vs \n

    by Chewbacca
    Replies
    5
    Views
    3,545

    endl vs \n

    Is there any real difference in using endl and \n?

    It seems they do the same thing but are there situations one is best used over the other?
  4. Replies
    4
    Views
    809

    Simple cout query from a newbie

    Just going through a tutorial and saw this code


    cout << "Here is 5: " << 5 << "\n";

    And heres a quote about it



    Is there any reason why you would just do this?
  5. Replies
    6
    Views
    1,801

    4th edition? Doh! I only have the 2nd edition...

    4th edition? Doh! I only have the 2nd edition (downloaded)

    Its the workshop exercise for day 1.
  6. Replies
    7
    Views
    1,288

    I've noticed too and although I'm too much of a...

    I've noticed too and although I'm too much of a newbie to help. When I ran it from within MSVC++ its ok. I'm sures theres a simple way of holding that window open rather then auto closing it (which I...
  7. Replies
    6
    Views
    1,801

    Spot the error

    #include <iostream.h>
    int main()
    {
    int x = 5;
    int y = 7;
    cout "\n";
    cout << x + y << " " << x * y;
    cout "\n";
    return 0;
    }
  8. Replies
    12
    Views
    1,184

    Damn I wasn't logged in :( I wish they would...

    Damn I wasn't logged in :(

    I wish they would make it so you had to register to post.
  9. Replies
    12
    Views
    1,184

    Can MSVC++ .net be used in exact the same way as...

    Can MSVC++ .net be used in exact the same way as MSVC++ 6? What I mean is can it be used without having to use the .net parts? Or is v6 and .net more different then just having added .net functions?
  10. Replies
    16
    Views
    2,091

    I'm running Win XP so I'm ok there.

    I'm running Win XP so I'm ok there.
  11. Replies
    16
    Views
    2,091

    Yes considering the prices of good books I've...

    Yes considering the prices of good books I've decided to do as much as I can online and will borrow some books from my local library :)
  12. Replies
    16
    Views
    2,091

    Thanks for all the guidance so far. Keep it...

    Thanks for all the guidance so far. Keep it coming :)
Results 1 to 12 of 12