Good day to you all people.
I personally like to use Visual Studio and Dev C++ to develop my c++ apps. Recently, I was introduced to a new environment, Textpad as the editor and Cygwin as the compiler.
I found interesting that in Visul Studio and Dev C++ you are not allowed to link or include .cpp files, and in Cygwin you can actually do that.
For example: if you have a header file named shape.h and the implementation/definition of the members of the header file are in a different file named shape.cpp; in Visual Studion and Dev C++, to use the members of shape in the main file(main.cpp, the file that has the main function) you have to include the shape.h file, otherwise it will result in errors. While in Cygwin it is the opposite, you have to actually include the shape.cpp file.
Any comments about how this 3 environments/compilers(Visual Studio, Dev C++ and Textpad/Cygwin) handle file linkage??? Is there any way to include '.h' files in Cygwin and '.cpp' files in Visual Studio/Dev C++??
Regards.....