🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

String output

Started by
0 comments, last by CMatrix 24 years, 3 months ago
How do I print two different strings with one call? For example: printf(string1 + string2); I get the impression from the errors i get that you can''t add two variables like that if they are of type char. But surely there must be a way? ~CMatrix
Advertisement
printf("%s %s", string1, string2);
-werdup-

This topic is closed to new replies.

Advertisement