hi,
Actually in VC++, for example,when I was loading mutiple bitmaps whose filenames are bitmap0,bitamp1;bitamp2,respectively:
char filename[20];
FILE * file;
for(int i = 0; i< 3;i++)
sprintf(filename, "bitmap%d",i);
//////load bitmap function
Load_Bitamp(*file,filename);
so my question is that, is there any function like sprintf()
like my previous question, if I want to create some number of labels, so I use such way :
for(int i = 0; i< number;i++)
{
sprintf(filename, "button%d",i);
///load and create buttons using filename
}
thanx!