Is it a good idea to put all c++ class code in header files?

Viewed 43

The reason for this idea is that C ++ has a lot of dissatisfaction with cross compilers. For example, the libraries compiled by mingw and msvc cannot call each other, and c has no such problem.

So I want to put all the code into the header file. Use header files directly instead of calling dynamic libraries.

How about it?

0 Answers
Related