1 pièce(s) jointe(s)
Problème désallocation de tableau sous Visual C++ Express 2010
Bonsoir, j'ai une erreur que je n'arrive pas à comprendre avec ce code:
Code:
1 2 3 4 5 6 7 8
| float * participationIntervenants = new float(nombreIntervenants);
for(int i = 0; i < nombreIntervenants ; i++)
{
cout << "Combien a paye en euros " << nomsIntervenants[i] << " ? " << endl;
cin >> participationIntervenants[i];
}
delete [] participationIntervenants; |
L'erreur se déclare après le delete[] et le message est indiqué dans la capture d'écran en pièce jointe (bug après delete.jpg).
Dans la fenêtre de sortie du debug j'ai les messages suivants:
Citation:
\Users\Pierre\Documents\Visual Studio 2010\Projects\PartageDeFrais\Debug\PartageDeFrais.exe', Les symboles ont été chargés.
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\msvcp100d.dll', Les symboles ont été chargés.
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\msvcr100d.dll', Les symboles ont été chargés.
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\tiptsf.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\combase.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\bcryptprimitives.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Program Files (x86)\McAfee\SiteAdvisor\sahook.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\oleacc.dll', Cannot find or open the PDB file
'PartageDeFrais.exe'*: Chargé 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
Cela vient-il des dll non chargées ou cela n'a rien à voir.
Je suis sous Windows 8 avec Visual C++ express 2010.
Visiblement ce problème de chargement de dll est connu chez pas mal de monde qui utilise Visual C++ Express 2010 d'après un bref passage dans les forums...
Merci de m'aider c'est vraiment important.