C++, DirectX, OpenGL, and Windows

Programming and Windows–the things that pop up when you open browsers or programs–have been around for some time, so it’s not surprising that there might be some quality discussions about this on the internet.

There are in fact a lot discussions about programming, and Gharr follows some actual programmers in the workforce or business world (and some miss the fun of programming when they get their “wings” clipped and have to move on to management 😉 ).

However the following discussion–this section may be expanded will be restricted to C++–may be expanded on as this topic is very broad and could include many things from game programming to scientific applications. Other languages are of great interest to Gharr because some reach out to today’s youth culture–such as Ruby–and there may be links here to other articles I create here.

The Memory Pool

Memory Pool defined: http://en.wikipedia.org/wiki/Memory_pool

This discussion may seem silly at first, however C++ pointers can request new memory to be created (allocated), and the address of that memory is often handed over to a pointer. During program execution C++ programs often need to delete the memory when it’s no longer required,

when your program starts, it often starts to use memory. The system can take note of where the memory pointer is before the program starts and reset the pointer to that location once the program finishes–this results in all the memory used by the program being freed after the program comes to a end.

Some types of memory are deigned to continue to exist once the program finishes: the printer for example will store memory of the sheets that need to be printed out, and portable memory devices such as USB flash-drives may store things like variable values even after the program finishes.

CProgramming.com C & C++

The author will be sorting topics out into sections that may not follow CProgramming.com’s divisions because many topics do overlap and can be rearranged; because they are still very good examples for other topic headings.

C++ Pointers are very handy for data structures

Game Programming

Computer games can be simple to make, or very complex to make depending on what software components you can get a hold of (functions, procedures, or even whole “basic” game engines). An interesting one for game (not sure what code it’s implemented in yet) is

OpenGL

Windows Programming

Shortened link to article: C++, DirectX, OpenGL, and Windows [article]: http://wp.me/p10Tww-1QU

—End of Article—

Material below this point may or may not be supported by the article, author, or any of those people or organizations that may be mentioned in the above article.
Any material below this point could be adverts; endorsements; paid to click sites (often they may try and trick you into clicking on them using graphics and/or words, or false comment boxes for example); misleading material; material that is for, or against the above article; or other types of material that is not part of the above article.
In single article view: this article does have an associated “Leave a Reply” and “Enter your comment here…” comment box below this point. You should get used to where this comment box is located before you try and leave a comment for this article.

—☆☆☆—

Advertisements
This entry was posted in Creative/artistic person, Education, Game Industry, Programming & Code, Technical and tagged , , , , . Bookmark the permalink.

One Response to C++, DirectX, OpenGL, and Windows

  1. Santhi P says:

    Thanks for sharing useful information on pointers. If we understand correctly we can play with the pointers, otherwise they will play with us! Anyways, you can get more information on pointer in cpp with examples in the following link.

    Pointers in Cpp with examples

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s