title: How to link an Object file of class with a source file
body: <p>I want to know if i can link and compile source code file with an object file of a class without including class source files.</p>
  
  <p>Or</p>
  
  <p>Like in Java i can give a compiled *.class file to a friend and the doc of that class without giving the source code and he can include that class for his need without knowing the real source.</p>
  
  <p>Can i do the exact thing with C++ ? and How ?</p>
  
  <p>FYI:I'm using MinGW.</p>
  
  <p>I'm quite new to so this may look like a dumb question (but still there's no dumb questions).</p>