5 using std::vector; 6 7 #include <iostream> 8 using std::cin; using std::cout; using std::endl; 9 10 int main() 11 { 12 // hold the grades we read from the standard input 13 vector<unsigned> grades; 14 15 // count the number of grades by clusters of ten:...
There’s a known non-number string being passed to std::stoi, but the exception handler for this code path is not catching it reliably - at least according to Watson telemetry: # Child-SP RetAddr Call Site 00 00000038`413fe9a0 00007ff6`f46c29c0 KERNELBASE!RaiseException+0x5c...