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.

Can I import packages to an OnlineGDB Project?

+13 votes
asked Sep 12, 2024 by Lucas Grenier (330 points)
I was just wondering if it's possible to install a package such as GTK in OnlineGDB. It would also work to just be able to import a folder from my computer, but as far as I can tell, only individual files can be uploaded, one at a time. I'm not going to try to upload something as large as GTK manually, by the single file. Any ideas?

1 Answer

+1 vote
answered Sep 16, 2024 by Peter Minarik (101,420 points)
selected Sep 17, 2024 by Lucas Grenier
 
Best answer
The compilation and the code run on a remote server and the result of the execution in forms of standard output and standard error are forwarded to your browser.

Since the code runs on the remote server, you cannot include anything from your local machine. As you noted, you can add (upload) files to your project, but it can be tedious to add multiple files one by one. :(
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.
...