Help .. Conversion Problems
Ok, this is really stupid and I'm kicking myself with the fact that I'm stuck on it. I'm prototyping a small program that moves back and forth though a directory of images by their number. Basically I just want to increase or decrease my integer Page_Num (which I have done here) then convert that number to a const char* array and append the file extension to it so that I can open the next file in sequence.
void page_forward(Fl_Widget*, void*)
test->uncache(); // Clear the image
const char* buffer; // String buffer
Page_Num = Page_Num + 1; // Increase the page count
// String conversion here ....
test = new Fl_GIF_Image(buffer); //load the image cache
img_butt->image(test); // assign the cache to the button
window->redraw(); // Force a redraw