I am getting the above error when ever i try to write somethin in my cpp file.. if I have the same code inlined in my header file it compiles and works fine.. I am using the g++ compiler for compilation.. Is there any thin particular i need to look for to fix that error