I just get my shining New Visual .Net and just install it after months of saving ! I like the interfaces inside the Visual C++ . Net, coz it make me easy to work . And then when i load my program that i have been writing every single day since May last Year into my new VC .Net , i got pleinty of error messages and warnings ! I worked on fixing then for three days, coz i believe i can make it. but at least there is one remaining that i don't know how to go through:
Here is the code:
[code] CString indexBegin='A';
int maxID = 0;
if (pDoc->myLogin[i].myID > maxID)
maxID = pDoc->myLogin[i].myID;
maxID++; // The ID of the new user.
[color=Red]indexBegin='A'+rest;[/color] // Error Here
if (indexBegin == "I")
[color=Red]indexBegin='A'+rest;[/color]// Error Here also
This code as you can see try to get the ID (ID < 26) of an user and then assign him a capitol (Majuscule in frensh ??) alphabetical letter.
This code has no prob in VC++ 6.0, but .Net think it is an error (i believe then).
The error code is :
error C2593 and the explaining message is :
.....DlgLogin.cpp(479): error C2593: