Some useful keyboard shortcuts

Running a program
F8Build (call make)
Shift+F9Run
F9Run program in the debugger; you may want to set breakpoints beforehand, for example by right-clicking with the mouse on a particular line in the source code