I desperately want to know that using what features of C++ Language. (Maybe sounding silly but is it by using something like Polymorphism, Inheritance, templates or something else for that matter.)
And is that topic included in the following book (please look at the table of contents posted there) which claims to be a complete reference to C++
http://www.mhprofessional.com/product.ph...
I want to know how the graphics is generated in OS's like Windows XP and MAC's. The last time I asked this question-- someone answered WIN32. What the hell is WIN32 and who is asking for that rather I would like to know that if its WIN32, how is THAT written(using what features) ?
Please give a simple worded and understandable answer.
How is GRAPHICS using C++ LANGUAGE is GENERATED? PLEASE ANSWER.?
You won't find a good answer to this question.
The reason is that c++ does not have a graphics API. It is a relatively low level language. It needs to call on some kind of library to generate the graphics (unless it is the library or it contains the library). On Windows platforms that is the GDI subset of the WIN32 API, generally wrapped in a class library such as MFC or within the .NET framework. On a lower level for games programming on Windows you would use DirectX. One great cross platform library is OpenGL which works on Windows, Apple and UNIX platforms. UNIX platforms use libraries built upon the X Server. If you want to bypass the operating system's libraries then you would have to write your own drivers for the host computer's graphics hardware. Trust me; this won't be easy.
A completely different way to answer this question would be about generating graphics data instead of graphical output direct to hardware. Libraries like GD would be of use for you if you wanted to generate graphics from a c++ web application which would have to generate GIF, PNG or JPG files. Such an app based on a different library could even generate Flash or SVG.
Your question is far too open ended to generate any real quality answers. I hope my humble attempt at an answer at least will help you to ask questions which will better bring you to your goal.
thank you cards
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment