title: How to include Custom files in C++ program
body: <p>How to include file 2 in file 1. What changes I need to make in file 2.</p>
  
  <p>file 1</p>
  
  <pre><code> #include &lt;iostream&gt;
  
   using namespace std;
  
  int main()
  {
  cout&lt;&lt;"Hello World";
  
  return 0;
  }
  </code></pre>
  
  <p>file 2</p>
  
  <pre><code> int otheFun()
   {
     cout&lt;&lt;"Demo Program";
     return 0;
   }
  </code></pre>