Sign in to follow this  

pretty new..so help

This topic is 4842 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

right basically i know most of standard c++, i created dos programs and so on. basically my problem is this, i can just about make a window with windows, i'm learning openGl i currently have visual studio express 2005 beta, visual studio 2003 trial coming to me. DirectX 9 sdk, opengl lib. ..but when i start a program i find it soo hard, like how am i supposed to memorise every function and the help files are always irrelevant, surely there must be some reference as i know what im doing it just i can't apply the proper function i need as i dont know the function names!! also, if u cant compile a program as its got errors, how you supposed to debug it. and please o please dont give the link to the beginners section, numerous posts previously ended up with a link to it...but anyway cheers and i hope you can help me out :D

Share this post


Link to post
Share on other sites
google for "NEHE". There are openGL tutorials there. Also the book "OpenGL Programming Guide" is free on the internet somewhere and is a good reference for OpenGL.

Share this post


Link to post
Share on other sites
The errors will give you an error code which you can look up in the documentation. They will explain why it isn't possible to build the program.

C++ requires a syntactically correct program to be able to compile it. It also needs to be linked to the correct libraries. These are the kind of errors which mean you can't even begin to debug your program.

Debugging is to do with finding errors that you have made which are still valid C++ but mean the program doesn't behave correctly.

If you haven't written correct C++ you can't even begin debugging.

Share this post


Link to post
Share on other sites
Hope that nufc means Newcastle United :P

When you get a compile error it will also (well at least in VC++) give you the line it is on so you know exactly what lines are giving errors, making it easier to debug.

Share this post


Link to post
Share on other sites
Quote:
like how am i supposed to memorise every function

No one has memorized every function, even professionals.

Since you're using 2k5 Express Ed. now, the help file may be not too good, but 2k3 Studio has lots of nice help features, including a "dynamic help" section that has help on functions relating to your code. I have really enjoyed 2k3 over studio 6.0, and I also tried the express editions and they were not so good. Things will get better when your 2k3 arrives, I would definitely suggest purchasing the full version (at least C++.NET) if you can spare the money (I think C++.NET is only like $80 or something).

Share this post


Link to post
Share on other sites
You don't actually need to memorise all the functions - just keep a good reference or two handy and refer to it as needed - gradually over time you'll remember more and more functions, although you'll likely always be looking up stuff as you begin to use new things which you have yet to remember.

Share this post


Link to post
Share on other sites
ah cheers for your help, can you recommend any reference books or free stuff available on the net that would help us struggling beginners.

..yes nufc does stand for newcastle united aka: the best team in the world! :D

Share this post


Link to post
Share on other sites
Quote:
Original post by Daz_mk
can you recommend any reference books or free stuff available on the net that would help us struggling beginners.
For Microsoft technologies (Windows, Win32, .NET, DirectX, COM, ...), you can't beat MSDN.

Quote:
..yes nufc does stand for newcastle united aka: the best team in the world! :D
Psssh! Glory, Glory, Man United! [smile]

Share this post


Link to post
Share on other sites
Quote:
Original post by Oluseyi
Quote:
Original post by Daz_mk
..yes nufc does stand for newcastle united aka: the best team in the world! :D
Psssh! Glory, Glory, Man United! [smile]


"What's wrong with being number two?"

Share this post


Link to post
Share on other sites
msdn thats the help file in visual studio yea?

as the microsoft site with that looks identical so i presume thats right.

as for man utd, there no newcasle utd..souness the best manager thats come out of scotland lol, how i'd love to believe that

Share this post


Link to post
Share on other sites
Quote:
Original post by Oluseyi
Quote:
Original post by petewood
"What's wrong with being number two?"
It offends the sensibilities of the True (read: Rabid) Fan and the ethos of sport. I mean, have you ever seen a bunch of fans screaming "We're number 2!" on ESPN? 'Nuff said.


People scream "we're number 1" whether it's true or not. I find the whole thing very dubious. I was quoting Morrie Schwartz anyway.

What's ESPN?

edit: the ethos of sport seems to have moved from being:

"It's not the winning it's the taking part"

to being

"It's not the winning it's the beating"

Share this post


Link to post
Share on other sites

This topic is 4842 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this