sort and Exit code -1073741819
"Well the fact the the executable is exiting unexpectedly is probably meaning you have some issue with you code which is pretty obvious."
https://social.msdn.microsoft.com/Forums/vstudio/en-US/8bab926c-97ec-41ea-8f3c-251e7c10d8cb/exit-code-1073741819?forum=vbgeneral
Potential bugs:
bool myfunction (L i,L j) { return (i >= j); }
sort(search_list.begin(), search_list.end(), myfunction);
=> sort(search_list.rbegin(), search_list.rend());
留言
張貼留言