Simple String question

Started by
1 comment, last by mrhodes 22 years, 5 months ago
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
Michael RhodesTiger Studios Web Designhttp://tigerstudios.net
Advertisement
strcat()

You could also use STL strings (if you''re using C++) and simply append them:
str += str2; 



I wanna work for Microsoft!
Thanks, I''ll give that a try

Mike
Michael RhodesTiger Studios Web Designhttp://tigerstudios.net

This topic is closed to new replies.

Advertisement