How can I get a new line in messagebox?
I have two TCHAR arrays, I can print both to separate MB but not both to one
This is what I'm looking for (if you can understand what I'm trying)
It obviously does not work.
TCHAR one = _T("file\\path\\here"); TCHAR two = _T("another\\file\\path\\here"); MessageBox(NULL, one ,_T("pathone"),0); //ok MessageBox(NULL, two ,_T("pathtwo"),0); //ok MessageBox(NULL, one + "\n" + two ,_T("pathoneandtwo"),0); //not ok
When I search all I find is "pathhere\nanotherpathhere" which is not what I need.
And I cannot use strcpy and strcat as they are wide or unicode or something, plus visual studio 2010 does not support wstrcpy.
I've tried a number of things, too many to list here
Any help with this please?