Hey everyone,
I have this code, but the last line seems to have a problem with the '+'. I thought to concatenate a string, you use the '+' operator.
Any idea's where I am going wrong? The compiler tells me that it cannot add pointers?Code:int nMajorVersion = 1; // Major Version int nMinorVersion = 0; // Minor Version int nBuildVersion = 0; // Build Version char szFullVersion[5] = nMajorVersion + "." + nMinorVersion + "." + nBuildVersion;
Thanks in advanced .