B
Bernd Schuster
Hello everybody,
I've got a problem. I want to concatenate a string with an integer
value. How can I do that?
for example.
int number = 1;
char *string;
string = "file";
How do I get to string = "file1" or string = "1file" ??
Do I need an explicit cast or is there any trick?
I need that to enumerate a sequenze of filenames.
Thank u in advance for your afforts.
Bernd
I've got a problem. I want to concatenate a string with an integer
value. How can I do that?
for example.
int number = 1;
char *string;
string = "file";
How do I get to string = "file1" or string = "1file" ??
Do I need an explicit cast or is there any trick?
I need that to enumerate a sequenze of filenames.
Thank u in advance for your afforts.
Bernd