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.

how i make a file ?

+4 votes
asked Sep 26 by Eyad Shady (160 points)

1 Answer

0 votes
answered Sep 26 by Peter Minarik (63,140 points)

In the OnlineGDB IDE, on the left side of the RUN button, there is a "New File" button where you can create a new file.

If you'd like to create a new file in C, look at the fopen() function (there's an example at the bottom of that page).

In C++, you should use the std::fstream::open() function (again, there's an example at the bottom of the page).

Every language has something similar functionality.

Good luck!

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.
...