Can someone provide some basic info on c++?

304NordMan

Active member
I'm starting to grow an interest in the program, but its incredibly complicated because I've never done anything close to it. I've memorized some codes and I know the basic on how to write them. But I don't know where. Where do write these codes to get a result.

As I said, this is pretty much my first couple of hours messing around with this stuff. So take it easy. Sorry if something I said in here makes me sound like moron, but I'm a newb.

Thank you. TheBN
 
use visual studio and just look up random strings of code and mess around with it.

Should take maybe an hour or so to figure out how to write a simple program using a couple logic statements.
 
uhhhhh....

fuck it i'm not going to explain it.

sorry dude, google it or something, its not too different from any other language. Variables, arrays, functions, classes, built in functions and all kinds of stuff.
 
c++ is a language, not a program so it doesnt really matter where you code. the oldschool way is to code in notepad, and compile and run in unix.

if you have a mac, use xcode because it will you can compile and run in right in the program and it makes other stuff a ton easier when you get more advanced. it should be already installed on your mac if you just do a spotlight search, because its not in the applications folder. if its not on there you can download the old version for free on the apple developer site.

if you have a pc there are a couple different programs that are similar like visual basic. i prefer xcode though, way easier for me to use.

c++ isn't something you are gonna pick up on a long weekend though. i took two semesters on compE classes on it and i am no where near completely proficient. if you know any other languages it will help a ton though.

let me know if you need any help. i can dig up some old code of mine to show you some basic code.
 
I dunno i've taken a couple c++/c classes but am by no means qualified or prepared to teach someone over the internet. Just take a class, buy a good textbook, or read about it on the internet. It's kinda fun (I love getting ripped and programming) and can come in handy. I've written programs to do homework problems for other classes that require multiple iterations like approximating integrals using trapezoid or simpsons rules.

I've had a couple programming texts but my favorite, especially for beginning was C++ for Everyone http://www.amazon.ca/C-Everyone-Cay-S-Horstmann/dp/0470383291
 
Yah, thats what I started with. I'm useing cplusplus.com a lot too. If you guys know of any other cool codes, post em' up!
 
C++ is one of the more difficult languages to program in. The main issue is that C++ will allow you to do dangerous things, create memory leaks, buffer overflows, and segmentation faults. I would highly recommend starting out with java or C#. Java has tons of resources so go with that. Once you know how to write java you'll be able to write C# as well.

Eclipse is the industry standard editor for java. You can download it here

http://www.eclipse.org/

If you have any question feel free to shoot me a pm. I'm a senior Computer science student so i should be able to answer just about anything
 
I learn how to program in C++ about two months ago for a school project. It's hard for me to get it but you seem okay with. The only thing you need is a program to compile and run your stuff right?

As a begginer, I use either ''codeblocks'' or ''microsoft visuals C++''

You can find both of them and download them for free on the internet (easy to find with google)

But, Microsoft Visuals is a 30 day trial and you'll have to register to use it afterwards. (the registration is completely free by the way and only takes 5 minutes or so!)

Good luck with that!!
 
juts google around and search youtube videos also look at stuff through first robotics they have links to all sorts of stuff on C++
 
If you're really serious about programming, I'd start with Java or C# because they are much easier and will ease you into the tougher stuff. Learning your first language always takes way longer, so starting C++ after something like Java is what I would recommend. As for an IDE I recommend using Eclipse and for anything on the ASP.net framework probably Microsoft Visual Studio is probably best
 
Start off with C# with Visual Studio. I also had 0 programming knowledge when I started but I was able to become proficient just using google. It does take a commitment. I probably spent at least 200 hours on my first program. It really does make life easier though, I would recommend learning.
 
Back
Top