Hello guys,
First, how to work with strings in lib, this is possible?
Second, how do I join two variables of type chars?
Exemple:
char out1 [] = "PVSnes";
char out2 [] = "Lib";
//In java this is possible, but not in C :-(
char out3 [] = out1 + out2 ;
consoleDrawText(1,1, "This is union: %s", out3);
With pointers
char *out1 = "PVSnes";
char *out2 = "Lib";
//This is not possible :-(
char *out3 = out1 + out2 ;
consoleDrawText(1,1, "This is union: %s", out3);
With the console I can do it, but I want to do directly with a variable, exemple:
consoleDrawText(1,13,"Union in console: %s %s", "fael", "daniel");