@dark coder
what is std::string
@hassan
so if i want to do:
for (a ...
{
dbLoadImage ("textures/image" + str$(a) + ".bmp",a);
}
i do
char string[200];
for (a ...
{
sprintf ( string, "%s %s", "textures/image", str$(a) );
sprintf ( string, "%s %s", string, ".bmp" );
dbLoadImage (string,a);
}
or
for (a ...
{
char text1[] = "textures/image";
char text2[] = str$(a);
char text3[] = ".bmp";
char final_text[30];
strcpy ( final_text, text1 );
strcat ( final_text, text2 );
strcpy ( final_text, final_text );
strcat ( final_text, text3 );
dbLoadImage (final_tex,a);
}
i dont quite understand you