title: compile a c program with gcc in cmd ( .c, .cpp and .h)
body: <p>I have 3 files: </p>
  
  <pre><code> mainOperations.cpp
   operations.c
   operations.h
  </code></pre>
  
  <p>(does some functions, is not importat what is in, for what I am looking)</p>
  
  <p>I was trying to run from cmd with gcc like this:
  "gcc -o C:...\ mainOperations.cpp operations.c operations.h" but it say "No such file or directory" for all of them. 
  So, my question is what to do to run with gcc from cmd? (Windows 7)Thx!</p>