debugger qui marche bizarrement
bonjour,
Grand débutant en visual c++ , j'essaye VC2003 et VC2005 et j'ai un problème bizarre avec 2005 :
j'ai créé une forme de base CRL:
using namespace cppclr;
char toto;
char titi [4];
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
titi[0]=10;
titi[1]=10;
toto=titi[0];
// Create the main window and run it
Application::Run(gcnew Form1());
return 0;
}
si j'avance pas a pas , je vois bien que toto vaut 10 mais le debuffer ma donne n'importe quoi sur titi ( ca marche avec VC++2003)
si je met les variables en local dans le main ca marche !!
qu'est que j'ai fait de faux ?