I read, that the best way to place functions is to create .h file with function prototypes, some .c file with those functions (including their bodies) and normal .c file with main(). This is how my simple project looks: it works properly, but how Visual Studio knows how to link them properly? In GCC I can control the order while linking.
问问题
64 次