How is the order of compilation of source files decided?
问题 I have a workspace containing many *.c files, which I compile. (I could use any toolchain say MSVC6.0, or gcc etc) Which source file is compiled first? How is the order of the files to be compiled subsequently decided? 回答1: The order of compilation is not specified by the C standard. Since there is no need for the construction of global objects like in C++, there is no situation where the order of compilation is relevant in C. 回答2: Generally, this is not specified anywhere. Especially when