i really want to learn c and c++ programming but i have no idea where to start, i tried some tutorials and they are very hard to comprehend, learning html and java was so much simpler than this, what should i do?
i really want to learn c and c++ programming but i have no idea where to start, i tried some tutorials and they are very hard to comprehend, learning html and java was so much simpler than this, what should i do?
You know java and can't pick up a basic 'Hello World' app in C or C++?
yeah i can, like, im just having trouble learning everything past if statements
Don't press yourself too hard. C/C++ (especially C++) takes a while to learn. Read all of the tutorials here... read them again and again. Read books, read them again... talk to people here, practice practice practice!
It took me nearly 6 months before I really started standing on my own feet in C++... don't become frustrated.
My recommendation (i did the exact same thing) is to just get a boo, then keep reading the chapters you don't understand until it clicks. And it will, if you already know JAVA.
Compilers:
GCC on Red Hat 8.1 (Primary)
GCC on Mac OS X 10.2.4 (Secondary)
Others:
MinGW on XP
hey, if it makes you feel any better, before I jumped over to C++, I was into HTML/Javascript... and I sucked at it too!
Just try some simple tutorials, to get the syntax or C/C++, and I don't think you will have a problem in understanding the programs themselves since you know Java.
Here is where I started...
howstuffworks
Also I kept reading C++, an intro to computing, 2nd edition by joel adams, sandford leestma and larry nyhoff and i still suck.
Just ask anyone in here, i struggle but I am learning. Slowly but surely!
"Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
-Bruce Lee
I was programming Pascal a little, then I heard that all games were made in C or C++. I also heard that C++ was newer than C, so I went to the library and borrowed a C++ book and read it.
Then I saw "Windows game programming for dummies" in a computer store and bought it. After reading that book, I was able to make DirectX games.
IMO, books are the best way to learn how to program.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
I second that.Originally posted by Sang-drax
IMO, books are the best way to learn how to program.
I'm just a beginner too, but I first touched on C++ a year ago and have now come back to it. Make sure you get the correct book, don't just grab the first "C++ Beginners" book you see, because a few of them are based on you understanding C first, which is a waste of money to get two books at this time.
thanks! its alotta help knownig that other people out there went through the same thing.. maybe im too young? i dunno is 14 too young to be starting this stuff??
Hmm...I would say as far as age goes, is dedication. The younger the person, the less dedicated they will be. I tried to do c++ about 4 years ago...and I looked at it and said, maybe later. I wasn't dedicated enough. I'm only 17 now, but I'm dedicated as anything. No doubt i'm still novice, but trust me, this is worth learning. You won't get it at first. Expecially functions. You'll get to functions outside main, and be like oh my gosh, what's going on. And you'll read it about 10 times+ and it'll finally just click. Then everything else starts clicking, and you start mixing things together, and you start playing around with code and you try to make your first script...and! You get about 10 errors. But it's ok, because you come on here and you ask questions and we help you answer them, and then you learn more, and you start programming more, and you get into windows programming and errr....it's worth it.
hey thanks! i know im dedicated, and i know i can do anything if i put my mind to it.. lol.. my mind just doesent seem to want to be put to it.. if that made any sence, but thanks everyone for all of your advice, i will be shure sto come here if i ever need any advice