Simple String question
Hello everyone...
This may sound like a silly question, however I can''t seem to figure it out. I''m trying to learn sockets programming, and I have a simple UI using the Windows API. I have an Edit box where I want to write messages, however I want to append new messages to it each time. I have a char buffer that stores the messages but I''m not sure how to copy a new string to the end of my buffer. Anyone have any ideas?
Thanks,
Mike
strcat()
You could also use STL strings (if you''re using C++) and simply append them:
I wanna work for Microsoft!
You could also use STL strings (if you''re using C++) and simply append them:
str += str2;
I wanna work for Microsoft!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement