Quote:
Intro to C++.
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
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.
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:
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:
Thanks for the tut :]
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
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
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
Nevertheless, copy and paste from an updated website
Quote:
Quote:
Quote:
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
Oh and if your going to try and teach people stuff, use the correct words so people dont learn wrong
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?
It's just a compiler like every other C++ compiler?
Visual studio is the best IDE ever
EVer
EVer
Recovered from /coding-tutorials/16558-intro-c-3.html · captured 2008.