PDA

View Full Version : How do I get started with C++



atwistoffate
02-14-2016, 06:27 PM
What do I do? What do I install?

Megazork
02-14-2016, 06:32 PM
https://repl.it/languages

atwistoffate
02-14-2016, 06:34 PM
https://repl.it/languages

What am I looking at? ._.

Megazork
02-14-2016, 06:37 PM
What am I looking at? ._.

You can experiment with many different languages on there. However, if you're as clueless as I am with how any of this works, just ask someone for a general overview.

atwistoffate
02-14-2016, 06:41 PM
You can experiment with many different languages on there. However, if you're as clueless as I am with how any of this works, just ask someone for a general overview.
Alright thanks

|ThyLuigi|
02-14-2016, 06:42 PM
I'm going to go ahead and say this, if you are new to programming, DO NOT DO C++. You will regret wasting your time being utterly confused about what you're doing, I can't stress it enough. I'd recommend Javascript, Ruby, Perl, Python or any scripting language before you try C++, it'll a lot in the long run.


Now that I've got that out of the way, this is what you have to do.

1. Get a text editor, some that I know are vi, vim, Brief, EMACS, Windows Notepad, and Notepad++.
2. Get a compiler, there's a ton out there, but you should get the one that follows closely to how the language is supposed to work. Some compilers: GNU C/C++, Dev C++, and Visual C++/
Extra stuff: if you're on windows, you have to download MinGW.

For a tutorial, go to either http://www.cplusplus.com or http://www.learncpp.com.

atwistoffate
02-14-2016, 06:59 PM
I'm going to go ahead and say this, if you are new to programming, DO NOT DO C++. You will regret wasting your time being utterly confused about what you're doing, I can't stress it enough. I'd recommend Javascript, Ruby, Perl, Python or any scripting language before you try C++, it'll a lot in the long run.


Now that I've got that out of the way, this is what you have to do.

1. Get a text editor, some that I know are vi, vim, Brief, EMACS, Windows Notepad, and Notepad++.
2. Get a compiler, there's a ton out there, but you should get the one that follows closely to how the language is supposed to work. Some compilers: GNU C/C++, Dev C++, and Visual C++/
Extra stuff: if you're on windows, you have to download MinGW.

For a tutorial, go to either http://www.cplusplus.com or http://www.learncpp.com.

Yea I will learn other languages before attempting C++

What do you recommend btw, Dev C++ or Visual C++? Once I download one of it, what do I do next?

|ThyLuigi|
02-14-2016, 07:12 PM
Yea I will learn other languages before attempting C++

What do you recommend btw, Dev C++ or Visual C++? Once I download one of it, what do I do next?

From what I've heard, Visual C++ is better.

After you download it, you can start writing programs, just pop into your text editor, make a little something, then save it under a .cpp file and pass it to the compiler.

atwistoffate
02-14-2016, 07:54 PM
From what I've heard, Visual C++ is better.

After you download it, you can start writing programs, just pop into your text editor, make a little something, then save it under a .cpp file and pass it to the compiler.

Confused, how do I put Visual C++ into Notepad++?

peck
02-14-2016, 08:20 PM
Let me jump in and say that it is not only bad for beginners, its a bad/dying language overall. Learning it would be an unfortunate waste of time. *http://yosefk.com/c++fqa/picture.html

Dont judge a language based off its results, the reason why there are so many "cool things" made with all the different incompatible c++'s is because thats what the language standard was. There are better languages now, choose them instead.

|ThyLuigi|
02-14-2016, 08:21 PM
Confused, how do I put Visual C++ into Notepad++?

You don't literally put Visual C++ into Notepad++, you save the file under .cpp and go to the compiler and then have it compile the file. You can then run it and everything.

RudolphPlays
02-14-2016, 09:23 PM
What do I do? What do I install?

Just do it!!!

If you learn it, you are better than me. I know html and php. That's not like programming. Just writing.

atwistoffate
02-15-2016, 08:41 AM
You don't literally put Visual C++ into Notepad++, you save the file under .cpp and go to the compiler and then have it compile the file. You can then run it and everything.

Okay thanks a lot