In Java, it is required by the compiler to name your files <Classname>.java
. In C, does it matter what the file name is?
No, the source files can in principle be called anything. However, the name should reflect the contents of the file for readability. Header files also don't have to be called the same as the corresponding source files; they just should.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With