Gadwil Posted February 4, 2009 Posted February 4, 2009 I would like to know what are some good books and/or Internet sites to learn C and C++ Programming from. I am trying to learn the C++ mainly but have searched around and seen that it helps to learn C++ if you already know C; that is the only reason I am even interested in C. I would also like to know good programs to program in. I will be mainly using CodeBlocks or Notepad++ but would like to know what other programs are good to program with. I will be programming in both Linux (Ubuntu) and Windows environments. Thank you for all the help in advance. Quote
Corrosion. Posted February 4, 2009 Posted February 4, 2009 I can't code in C++ but I do a little sdl/php. I like conTEXT as my editor but others will work just as well. Quote
nullArray Posted February 4, 2009 Posted February 4, 2009 http://hak5.org/forums/index.php?showtopic=913 This thread has plenty of info. I use Xcode and gcc+vi, the book I "taught" myself with was this one, but it looks like they've updated this to the fourth edition. I also should point out, that I didn't actually read the book, so I have no idea if it's good or not..., Quote
Gadwil Posted February 5, 2009 Author Posted February 5, 2009 So, is it good to know C before learning C++? Quote
DingleBerries Posted February 5, 2009 Posted February 5, 2009 How I learned... Download dev-C++. After that make a simple program; #include <iostream> using namespace std; int main() { Â Â Â Â cout << "Hello World!" << endl; Â Â Â Â return 0; } You just learned how to make it talk! Now you move on to something a bit more advanced. Just start reading code little by little, eventually you will begin to be able to make out what its doing, or trying to. Its not easy but well worth the time IMO. I use to use it a lot to make special programs that just make life easier, then came linux and bash. http://www.howtoforge.com/beginners_guide_to_cplusplus http://www.arachnoid.com/cpptutor/program2.html http://www.codeguru.com/cpp/cpp/algorithms...ticle.php/c7979 Quote
nullArray Posted February 5, 2009 Posted February 5, 2009 So, is it good to know C before learning C++? It certainly doesn't hurt, there are some similarities with syntax and conceptual ideas of how to implement algorithms..., but the two aren't really the same. Confusing, huh..., I recommend C++ over C, but that's a personal preference and I'm sure they'll be someone here to suggest otherwise. Quote
Gadwil Posted February 5, 2009 Author Posted February 5, 2009 Ok, I guess simply for the sake of tyring to understand it all I will learn C before C++. Thank you for all of your help. Quote
nullArray Posted February 5, 2009 Posted February 5, 2009 Ok, I guess simply for the sake of tyring to understand it all I will learn C before C++. Thank you for all of your help. Really!, you don't have to. C++ is arguably easier to learn and understand. Quote
Famicoman Posted February 6, 2009 Posted February 6, 2009 http://wiki.hak5.org/wiki/Analog5:000_Article_009 Quote
Learnaseyego Posted February 7, 2009 Posted February 7, 2009 Head on over to http://thepiratebay.org/ and search for some e-books on the subject. I'm sure you will find more than enough books there to keep you busy. But if anybody asks... I didn't tell you to go to http://thepiratebay.org/ B) I don't condone that kind of internet behavior ;) Anyway good luck Quote
Rivelli Posted February 7, 2009 Posted February 7, 2009 If you do learn C, make sure to read 'The C Programming Language' - K&R / White Book http://en.wikipedia.org/wiki/The_C_Program...Language_(book) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.