i m new to C++ programming and using turbo c++ as an IDE.
I m confused about some topics.
. I m trying to define a class and its attributes in a header file and defining its functions
in a .cpp extension file
.do we have to compile our own header files?
. I have also saved both the files in the same directory.
. in compiling a header file i m getting error ( syntax error in class declaration).
.my .cpp file gives no error in compilation but does not runs. i m getting
messages such as "linking noname.exe"
please help me out with this as i m not able to apply concepts in datastructures