-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
So I'm creating a very simple c++ app for learning on Ubuntu using c++ and gdb:
#include <iostream>
using namespace std;
int main ()
{
int score = 0;
cout << "Enter an integer score between 0 and 100." << endl;
cin >> score;
if(score >= 90 && score <= 100)
{
cout << "Awesome!" << endl;
}
if(score >= 80 && score <= 89)
{
cout << "Well Done." << endl;
}
if(score >= 70 && score <= 79)
{
cout << "Average." << endl;
}
if(score >= 60 && score <= 69)
{
cout << "Bummer." << endl;
}
if(score >= 0 && score <= 59)
{
cout << "Sad Times." << endl;
}
return 0;
}
When pausing and stepping into/over I have to hit cancel each time for things like this:
Is there a way to disable these so I can step through the program? Thank you.
hkleynhans, mattiasljungstrom, ismailhkose, arruw, Kai-Richardson and 26 morekruxmeier, zgoethel and james-b-yu