MMOCC the isometric world scene, 2006–now
Archive. Archived from the original MMOCC Forum (2006–2010), recovered from the Internet Archive. The forum is read-only history now — the scene talks on Discord. If you posted here and want something removed, get in touch.

Intro to C++.

18 posts · vBulletin era
#1
Quote:
#2
Quote:
#3
Quote:
#4
Quote:
#5
Quote:
#6
Quote:
#7
Quote:
#8
Just to add to the arguement; Dev-C++ is outdated and no longer developed. Hence another reason not to use it. If you're looking for an alternative - use Code::Blocks.
#9
Hey guys, I'm going to teach you guys to learn C++ how I did.
Firstly, You need a C++ Console Compiler. (Any type should do).

I don't recommend using .NET yet until you learn the basics.

Ok, here's the code.

Code:
#10
Thanks for the tut :]
#11
Ohai I see my post was deleted


system("PAUSE");

DO NOT USE THIS
1) It does not work on linux
2) It spawns a new process
3) It shows your knowledge of C++ is lacking
4) It shows that you are lazy

So go learn about taking key input and and closing the program when A key is pressed.

Oh and who ever deleted by post with the reason "not constructive" please explain how it was not constructive, I told him not to do something that is bad, that is constructive
#12
I'm sure none of the moderation team know the slightest of C++, if you want to delete James' post then feel free to do so - he is just alerting the community in such a way as not to use a tutorial as above due to it being outdated and "dodgy".

Nevertheless, copy and paste from an updated website
#13
Quote:
#14
Quote:
#15
Quote:
#16
Another thing, why are you using int main when it does not return an int, use void

Oh and if your going to try and teach people stuff, use the correct words so people dont learn wrong
#17
Why shouldn't we use Visual Studio (I'm guessing that's what you were implying by ".NET")?
It's just a compiler like every other C++ compiler?
#18
Visual studio is the best IDE ever
EVer

Recovered from /coding-tutorials/16558-intro-c-3.html · captured 2008.