I have an interesting problem here. The function returns the first cell of a local array, so I am getting this: returning address of local variable or temporary. How can I return a new string without this message?
Code:const char *X3DConsole_GetTitle() { char strTitle[80]; GetConsoleTitle(strTitle, 80); return strTitle; }