Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Creating my own header file and using it with this compiler

+3 votes
asked Feb 20, 2019 by Jim Wilmes (160 points)
I have a function that I want to use in my program but it is very long and needs to be repeated multiple times, so I want to make a header file where I can define it, then call to it when I need to in the main function. Please keep in mind that I am new to programming.

1 Answer

+2 votes
answered Feb 20, 2019 by Admin (5,130 points)
You can create new files under same projects.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.