I read this:
http://cboard.cprogramming.com/showthread.php?t=31408
In main.cpp if i write
#include "Point.h"
#include <iostream>
#include "Point.cpp"//also i add cpp file
comiler gives me:
"'Point' : 'class' type redefinition " error.But i don't understand it.In Point cpp there is no definetion but it gives error.What is wrong here?What is happening while compiling and linking so it gives error.
Thanks.