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.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
using file functions like fopen in onlineGDB
+5
votes
asked
Dec 13, 2025
by
Nico
(
170
points)
Hi, since se code is giving me a lot of problems regarding txt files I wanted to give it a go. Does the ide have problems with relative paths end reading/writing in a txt file?
The program should be able to inizialize variables by reading the file at the start.
Thanks
probably-isnt-hard-im-just-dumb
txt
files
Please
log in
or register to answer this question.
1 Answer
+2
votes
answered
Dec 14, 2025
by
Peter Minarik
(
101,430
points)
OnlineGDB runs on a remote server, and the result is forwarded to your local PC (browser). File operations work fine as long as you do not try to poke around where you do not belong, e.g., try to leave your projects directory.
Please
log in
or register to add a comment.
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.
...