Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·