Hey,
Ive written a program in c/opengl and it creates a .tga file of each frame to make a short animation. However, im wanting to 'update' the file name it creates in the function each time its called.
eg:
call 1: name=1.tga
call 2: name=2.tga
...
call n: name=n.tga
How might I go about doing this?