I'm pretty new to C and have to write something that handles strings.
I have some experience with python and C++ but i find C string handling pretty strange/ugly.
Is the following code really the best way to put together a string containing multiple strings?
strcat(string1, string2); strcat(string1, string3); strcat(string1, string4); strcat(string1, string5);
In python i would do something like:
string1 = "%s" + string3 + "%s" % (string2, string4)