In Visual Basic, I could concatenate so easily with the '&' operator. Of course in C++ it's the 'address of' operator, which is a pain. I'm just trying to concatenate the return char* from a function with ".txt".
The reason being the function returns the char* of a name and I want the program to create a txt file called whatever the name is.
i.e. The function returns "Faz", I want that to concatenate with ".txt" so I can create a a file called "Faz.txt".
Do I need to use the macros to concatenate with ## ?
0 · ·