Jump to content
  • Advertisement
Sign in to follow this  
Guhill

I have a pretty wide understanding of C++, now...

This topic is 4421 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just finished my sophomore year in High School and I finished a C++ programming class and have a pretty wide understanding of it. Now I'm ready to combine it with OpenGL so that I can start writing games with graphics and sound. How does all that work? Is openGL a programming language itself? or just an add on to C++ and you are still coding in C++ with more commands that come with the openGL add-on? That whole thing is confusing to me and I am uneasy stepping into untouched territory without a basic understanding of it.

Share this post


Link to post
Share on other sites
Advertisement
oh, function calls which allow for sound and graphics? okay, that makes more sense. Thanks.

Share this post


Link to post
Share on other sites
Quote:
Original post by Guhill
oh, function calls which allow for sound and graphics? okay, that makes more sense. Thanks.


No, not sound. Graphics and only graphics.

Share this post


Link to post
Share on other sites
Quote:
Original post by Guhill
I finished a C++ programming class and have a pretty wide understanding of it.
It seems like asome strange euphemism about term wide.
Quote:
That whole thing is confusing to me and I am uneasy stepping into untouched territory without a basic understanding of it.


You seems to need a some experience (2 years+) with programming. It's intuitive when you know what are you doing, however I VERY doubt an introductionary course in C++ would give you ANY clue. Look at NEHE tutorials, they are bad, they are very bad, however they are one of the few very consistent and freely available tutorials.
Start with a moving picture on the screen. If you would have it working and without bugs (and loading any image) you could continue with some other finese.
BTW there are three working ways how to do it.

Share this post


Link to post
Share on other sites
actually I do have more than 2 years in programming, just not programming with C++. I have been coding in DarkBASIC Professional for 3 years, and in C++ for like 8 months. But I guess you're right, I probably should do some more coding in C++ before I go into openGL. I do, however have a slight problem... there are no more C++ coding classes available at my High School. There are 2 Java courses available which I will be taking my Junior year. If I want to further my knowledge in C++ I will have to teach myself using a book or pay for a class at TVI... hmmm

Share this post


Link to post
Share on other sites
Quote:
Original post by Raghar
It seems like asome strange euphemism about term wide.


Well, he said "wide" and not "deep", which kind of sounds like what such classes are doing. They give you a nice overview and afterwards you know ABOUT most things, but don't really know anything in detail. You might know what templates are, but wouldn't guess all the neat things you can do with them (and they probably even skipped template specialization).

That said, I basically picked up C/C++ while learning OpenGL. It's possible and I didn't really feel like I was struggling. Of course, the book used a pretty pragmatic mix of C/C++ and my coding style still hasn't recovered. Also, OpenGL as such is plain C, so knowing C++ inside out isn't really necessary.

Share this post


Link to post
Share on other sites
Quote:
I probably should do some more coding in C++ before I go into openGL.
I would rather say: Just try it out and see how far you can get. If you should not manage to get it running, skip it, do other things and come back later. If you should manage to get it running - all the better! I really think you will at least learn a lot from the approach.
The best way for a tentative start might be to look into the (already mentioned) Nehe Tutorials. Work through the first three or four Tuts. If you understand them, continue.

Share this post


Link to post
Share on other sites
"wide" not "deep" is correct. If the openGl functions are in the C language, will that make it tougher, or will knowing C++ suffice? Ok, I will try the Nehe tutorials. Thanks to everyone who replied to this thread.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!