You can't do that like you would in BASIC. C++ is too close to machine code for the overhead involved in that sort of thing. You have to use the standard library of functions that comes with the language to pull such things off. I'll explain what you need to do but I'll also stipulate that you really need to pick up a book on C++ and read through it and understand it. You can't just pickup examples and expect to understand the language. Forums are okay for quick answers but insufficient for long term training.
Assuming that your initial three buffers can max out at 50 characters we have to provide more space for all
char *all = new char [151];
strcpy (all, bufferout); // copies the content of bufferout to all
strcat (all, ip); // appends (concatenates the content of ip onto all
strcat (all, username); // appends username to all
Lilith, Night Butterfly
I'm not a programmer but I play one in the office