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.

Como incluir un archivo de extension h

0 votes
asked Jul 9, 2019 by Adimaro (120 points)
Como puedo incluir un archivo propio de extension .h??

1 Answer

0 votes
answered Aug 6, 2025 by Jerry Jeremiah (2,040 points)
In OnlineGDB, the icon on the far left creates a new file.  If you click it and give it a name ending with .h then you can fill the file with whatever is in the header file.  Then in the main window you can add #include followed by the name of the file in double quotation marks.  Something like this: https://onlinegdb.com/Q2v1GuHdY
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...