Commit 1d3df0b5 authored by Maxime POULAIN's avatar Maxime POULAIN
Browse files

fix filename error

parent a619e0cd
......@@ -498,7 +498,7 @@ System::Void MainForm::buttonStart_Click(System::Object^ sender, System::EventAr
listView->Items->Add(item);
char tmp[256];
sprintf_s(tmp, "%s, %d, %d", stringToChar(textBoxFile->Text), nb_it, global_sol.cost);
sprintf_s(tmp, "%s, %d, %d", &(string(szFile).substr(string(szFile).find_last_of("/\\")).c_str()[1]), nb_it, global_sol.cost);
history.push_back(tmp);
}
......
 bierwirthManager.obj : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
 MainForm.cpp
C:\Users\poula\Downloads\oad-tp2\Code\View\utils.h(15,2): warning C4091: 'static ': ignored on left of 'utils' when no variable is declared
bierwirthManager.obj : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
View.vcxproj -> C:\Users\poula\Downloads\oad-tp2\Code\x64\Debug\View.exe
C:\Users\poula\Documents\Travail\ZZ2\S3\Aide Décision\TP\TP2\oad-tp2\Code\View\x64\Debug\View.vcxproj.AssemblyReference.cache
C:\Users\poula\Documents\Travail\ZZ2\S3\Aide Décision\TP\TP2\oad-tp2\Code\View\x64\Debug\View.MainForm.resources
C:\Users\poula\Documents\Travail\ZZ2\S3\Aide Décision\TP\TP2\oad-tp2\Code\View\x64\Debug\View.vcxproj.GenerateResource.cache
C:\Users\poula\Downloads\oad-tp2\Code\View\x64\Debug\View.vcxproj.AssemblyReference.cache
C:\Users\poula\Downloads\oad-tp2\Code\View\x64\Debug\View.MainForm.resources
C:\Users\poula\Downloads\oad-tp2\Code\View\x64\Debug\View.vcxproj.GenerateResource.cache
No preview for this file type
No preview for this file type
fichier, nb_iteration, meilleur_cout
No preview for this file type
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment