Hey all,
I have just updated to MS VS 2008 Pro. I am having some cross over problems from MS VC 6. Below is a simple example:
#include<afx.h>
#include<iostream>
using namespace std;
int main()
{
CString s;
CString sa("Strings ");
CString sb = CString("are easy ");
CString sc = "in MFC!";
s = sa + sb + sc + '!';
cout << s;
return 0;
}
In MSVC 6 thisworks fine but in MSVS 2008 Pro the output is different on every run, typical output "0019ED10" . I do not understand what is happening here. Anyone any ideas? Thanks for the help.
Colm