Can we make own header file in c or c++?

4/22/2019 4:07:45 PM

Bilal Ahmed

5 Answers

New Answer


Not on code playground.


Quote from this link: https://www.sololearn.com/Discuss/1082214/header-file You will need to use headers and source file in a IDE. Files cannot be linked on SL


See its being the files with class code, which is being used up in any program. Then to use those files. We bring them in our program as a header file. Most importantly c does not support class concept, so in c we could not do that but it is possible in c++.


C is the basic & foundation programming language. Resulted in creation of C++. WHEREBY C++ program 😫 🌪️ 🌞 IS MORE ADVANCED than C language. So drawbacks in C & whatever is highly impossible in C . Which is why its easy recommend possible in C++ 😫 🌪️ 🌞 program as a header file 📂,. ☺️🤣🤣🤣🤣🤣🤣


Yes we can, yet not in the code playground. In a compiler like code::blocks for example you can do it very easily