Posts Tagged ‘ va_end ’
For fun, I would like to implement some of the SQL aggregates in C: SUM (sum), AVG (average), MIN (minimum), MAX (maximum), STDEV (standard deviation), VAR (variance). To do this in C, I’ll use functions with variable number of arguments instead of a function with an array and a count of the elements in that array. [ READ MORE ]
There are many ways for displaying text in OpenGL. In this post, I’ll use the glutBitmapCharacter function to draw characters, and then will extend it to a more generic function (printw), which will make drawing a string in OpenGL as simple as using printf. First, I will start by defining the font to be used by the [ READ MORE ]
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 12 other followers
Get every new post delivered to your Inbox.