SRL Archive - General

hey all, I am new to the forums.


daza

2014-01-19 13:40:56

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.

daza

2014-01-19 16:26:53

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

NKN

2014-01-19 17:26:18

From: daza
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.

daza

2014-01-19 18:01:37

while loop:

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

}

Brandon

2014-01-19 18:38:49

From: daza
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.

share2jason

2014-01-21 03:06:11

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