title: c++ command line compilation with gcc
body: <p>I am trying to use a text editor instead of code::blocks to write some c++ code.  Just wrote a "hello world" program.  </p>
  
  <p>My code::blocks ide uses the gcc compiler that I installed, but I want to learn how to do it at a bit of a lower level.  I read a few tutorials that said all I have to do is open a command prompt and type:</p>
  
  <pre><code>gcc helloWorld.cpp -o helloWOrld
  </code></pre>
  
  <p>but i get an error saying "gcc" is not a recognized anything.  </p>
  
  <p>What do i do to make it work?</p>