1)Is there a function in the string.h header that allows you to combine the contents of multiple strings (char arrays), or will strcpy() accept multiple input strings?
2)As an ASCII character, how is a space represented? 0?
1)Is there a function in the string.h header that allows you to combine the contents of multiple strings (char arrays), or will strcpy() accept multiple input strings?
2)As an ASCII character, how is a space represented? 0?
yes strcat();
string concatenation is that what you want right?
in ascii it is ' ' or decimal 32. What do you want to do with space usually the former will suffice
Try looking up strcat,
If you're trying to add one string to the end of another.
I think 0=space but I'm not 100%
sorry linuxdude,
look's like I was beten to the punch!
Thanks alot - I was using loops but it ended up as a complete mess.