Im trying to learn but every program I write ends up crashing.. so Im just going back to square 1......
Help?
Printable View
Im trying to learn but every program I write ends up crashing.. so Im just going back to square 1......
Help?
cplusplus.com - The C++ Resources Network
I use Code::Blocks as an IDE.
C++ Language Tutorial - That's where I learned C++. Make sure you learn the basics thoroughly.
Also, Code::Blocks is the best free C++ IDE. I use Dev-C++, but only because that's the IDE I'm most familiar with. The Visual C++ Express IDE won't let you compile resources unless you buy the professional version.
Perhaps you need something easier to learn; Microsoft Visual Studio Express - Build cutting edge Windows applications.
/\ what iamcoder said. I started out with visual basic its really easy to learn just get a book (I got an ebook) and start reading.
Hey Luna i found very very good place to learn C++ C# etc . . . with video and sound.
have fun :DCode:http://www.programmingvideotutorials.com/
Do you have a SHORT example of a program that crashes? If you're a beginner, then it's probably something really easy to spot, and likely you're making some silly mistake and repeating it in a lot of places. :)
While VB is pretty easy to learn, I'm assuming you're at least computer-proficient if you're interested in learning C++. I actually think you benefit a lot more if you start with C++ than if you start with something like Java and switch over. I've seen one stream in university start with C++, and one stream start with Java, and the Java folks were SUPER-confused when going to C++ cause they couldn't wrap their heads around pointers. If you learn it first with C++, you won't be confused by a more limited reference point to compare it to. Just my opinion, and I'm sure someone disagrees and we can get into all sorts of religious debates about it. :P I'm just describing a trend that I've seen (many many data points).
That said, yeah, definitely follow a tutorial through and understand how things work. Then, if you want to go further, read the "Effective C++" books by Scott Meyers.
I'd stick with C++, and I agree with Replicon. Post an example of something that crashes and get us to look at it! :D