title: One command to do make and run in c++?
body: <p>I was doing debugging for homework. I had to type make and ./a2 billions of times just to see my stuff drawn on the screen.</p>
  
  <p><strong>I use vim and a shell</strong></p>
  
  <p>I m sure there must be a way(script) to just press one button and do "make" and ./a2 at the same time</p>
  
  <p>What is this command? </p>
  
  <p>What <strong>cool hack/trick</strong> do you use to avoid some repetitive typing?</p>