title: calling class member in another class without defining new object
body: <p>I have to call for a member of first class in second class without defining a new object name for first class.</p>
  
  <p>SO basically I have something like this:
  MAIN:</p>
  
  <pre><code>firstClass fClass;
  fClass.firstFuntion();
  </code></pre>
  
  <p>FIRST.HPP</p>
  
  <pre><code>class firstClass
  {
  public:
  void firstFunction();
  };
  </code></pre>
  
  <p>SECOND.HPP</p>
  
  <pre><code>class secondClass
  {
  public:
  void secondFunction();
  };
  </code></pre>
  
  <p>SECOND.CPP</p>
  
  <pre><code>void secondClass::secondFunction()
  {
  //first Function should be called without defining new firstClass object name
  }
  </code></pre>