when i try building my code with visual c++ 2005 Express Edition..
the compiler gives the error..
fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
but when i use cygwin (g++) it compiles and runs fine...can someone tell me how i can fix this error...
btw...when i do inlcude the suggested file ...it gives a new error
fatal error C1083: Cannot open precompiled header file: 'Debug\inheritance.pch': No such file or directory