Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need some clarification.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
reubatsch456
Cheater
Reputation: 0

Joined: 03 Jan 2008
Posts: 30

PostPosted: Thu Jan 31, 2008 11:31 pm    Post subject: Need some clarification. Reply with quote

When someone programs with OpenGl or Win32api, are they just programming in C with specific libraries?

Is win32api used to make windows?

And when you use the DirectX or OpenGl graphic libraries, do you program with them in C or C++ or does it make not difference?

Thanks to those to help me....I know I am noob now but everyone has to start somewhere.

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Jan 31, 2008 11:38 pm    Post subject: Re: Need some clarification. Reply with quote

reubatsch456 wrote:
When someone programs with OpenGl or Win32api, are they just programming in C with specific libraries?


Not "just", they are two distinct concepts, the win32 api are general purpose, OpenGL is for hardware accelerated graphics.

reubatsch456 wrote:
Is win32api used to make windows?


Yes, but you can do much more with it.

reubatsch456 wrote:
And when you use the DirectX or OpenGl graphic libraries, do you program with them in C or C++ or does it make not difference?


There's a difference, but there are bindings for other languages.

reubatsch456 wrote:
Thanks to those to help me....I know I am noob now but everyone has to start somewhere.


That was unnecessary.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Sat Feb 02, 2008 12:36 pm    Post subject: Re: Need some clarification. Reply with quote

reubatsch456 wrote:
When someone programs with OpenGl or Win32api, are they just programming in C with specific libraries?

Is win32api used to make windows?

And when you use the DirectX or OpenGl graphic libraries, do you program with them in C or C++ or does it make not difference?

Thanks to those to help me....I know I am noob now but everyone has to start somewhere.


By reading this, it makes it sound like you think the Win32 API, OpenGL, and DirectX can only be touched by C/C++ applications, which is not the case. Any language that can access / use API can use Win32 API. As for something like DirectX and OpenGL, they can both, natively, be used in tons of different languages. And those that are not native and probably be hacked to use them.

reubatsch456 wrote:
And when you use the DirectX or OpenGl graphic libraries, do you program with them in C or C++ or does it make not difference?


This basically boils down to the whole "C or C++?" question. C++ is a superset of C, an extension to the language. It introduced the OO style of programming to C. With Classes, Virtual Functions, etc. If you are working on a major application / game that will be using DirectX or OpenGL, I would personally suggest using C++, classes are just a great thing to have and it makes the creation of things a lot easier.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites