I have this class:
class A 
{
 public :
   int Echo (int param)
   {
      int num = param + 5;
      return num;
   }
}
And then in my Header.h I put the following definition:
#ifndef A_H
#define A_H
  class A 
{
 public :
   int Echo (int param1)
   {
          return num;
    }
#endif
I have these questions:
1- How classes should be defined in the Header.h? Should they be defined exactly like their original *.cpp file, or their signature is enough?
2- Should the definitions in Header file be accompanied with the return statement of the function? Someting like this:
int Echo(int param)
{
   return num;
}
I have asked similar question but with a different problem, and it is not acceptable in StackOverflow to edit questions which result in a totally different problem statement.
 
    