Results 1 to 6 of 6

Thread: hey all, I am new to the forums.

  1. #1
    Join Date
    Jan 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default hey all, I am new to the forums.

    I have been on and off coding/programming for about 8 years. I started with visual basic, I gave up on learning that one, didn't like the outcome of the games I attempted to create, plus I was 12 years old so, I moved on. I did put a few months into learning java and python. Again I stopped, now I am on C++ and really love how the coding is with it. The problem I am having right now is the book I am using is a bit outdated, And all the loops I am learning from this book do not compile at all, even when I try and switch some of the coding around from some of the code I learned from java. I know that it was a long shot. I really like C++ even when it doesn't work for some reason, I find it alot more attractive then java. If anyone could offer me some help that would be really nice.

  2. #2
    Join Date
    Jan 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Hey ggzz I can't priv message so I hope you get this.

  3. #3
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by daza View Post
    I have been on and off coding/programming for about 8 years. I started with visual basic, I gave up on learning that one, didn't like the outcome of the games I attempted to create, plus I was 12 years old so, I moved on. I did put a few months into learning java and python. Again I stopped, now I am on C++ and really love how the coding is with it. The problem I am having right now is the book I am using is a bit outdated, And all the loops I am learning from this book do not compile at all, even when I try and switch some of the coding around from some of the code I learned from java. I know that it was a long shot. I really like C++ even when it doesn't work for some reason, I find it alot more attractive then java. If anyone could offer me some help that would be really nice.
    What's the code for the loops?

    It should still work.

  4. #4
    Join Date
    Jan 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    while loop:

    int i = 0;
    while (i < 5) {
    std::cout << "This is silly. " << std::end1;
    i++;

    }

  5. #5
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by daza View Post
    while loop:

    int i = 0;
    while (i < 5) {
    std::cout << "This is silly. " << std::end1;
    i++;

    }

    http://ideone.com/J1Epmc <--- View that. You can see the output of running that code at the bottom of the page.
    Last edited by Brandon; 01-19-2014 at 11:49 PM.
    I am Ggzz..
    Hackintosher

  6. #6
    Join Date
    Jan 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i learnt C++ and Java both bofore, but now i am doing business, not too much related to my major, so pity

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •