Ask coding questions

← Back to all posts
how to execute another file in C ?
PancakeDev (3)

Hi coders !

For a project, i need to use many files in C, but how to execute it ?

do I need to write "start src = game.c" or something ?

Please give an answer ! :)

Comments
hotnewtop
19ecal (232)

Make a file named .replit. If game.c is the file you need to run, in .replit put run="gcc -o game game.c; ./game"

PancakeDev (3)

Thank you very much ! @19ecal