I have three variables:

const char* dir //directory of file

int i //the file's name without extension

const char* ext //the extension of the file

how do I add these together to get a const char* string that should look like this:

"img/1.bmp"

Thanks,



~justin123