Hi,

I've copied this example program out of a book, and it's made up of 3 files:

Fract.h, FloatFract1.cpp, and Fract.cpp

I've been using VS Express to put it all together into a project. This may be a stupid question, but when you build your solution, do all the cpp files get put together automatically?

I understand that you have to put #include "Fract.h" or the same for your other header files. But I've noticed that there's nothing like: #include "FloatFract1.cpp" or #include "Fract.cpp" in the files. So do .cpp files just get included together automatically?

Thanks.