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.

Compiling multiple C files

+7 votes
asked Apr 11 by gabrielecapannini (190 points)
Hi!

I'm wondering if it possible to compile a two (or more) source files creating the corresponding object files on OnlineGDB... in case how?

1 Answer

+2 votes
answered Apr 12 by Peter Minarik (86,240 points)

You just add new files to your project (the two buttons to the left of the green RUN button) and they will be automatically compiled.

That is to say, you do not have to do anything special, this happens already.

Here is a quick example project I put together.

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