G
Guest
This is the code snippet:
....
int nTest = 10;
String * pMsg = String::Format( "Display an integer here: {0}", nTest);
....
I got the following error message when tried to compile the program:
error C2665: 'System::String::Format' : none of the 5 overloads can convert
parameter 2 from type 'int'
Am I missing anything here?
....
int nTest = 10;
String * pMsg = String::Format( "Display an integer here: {0}", nTest);
....
I got the following error message when tried to compile the program:
error C2665: 'System::String::Format' : none of the 5 overloads can convert
parameter 2 from type 'int'
Am I missing anything here?