Skip to content
How to compile and run C program imported from GitHub
Profile icon
moderndaymage

Hi, I've just imported my own C program from my GitHub repo, when I try to press the Run button, it asks me to configure run from repl.it files. What should I do for it to compile and run?

You are viewing a single comment. View All
Answered by MocaCDeveloper [earned 5 cycles]
View Answer
Profile icon
PattanAhmed

@moderndaymage
Hi,
So, for your question:-
In .replit file
Try this:-

language = "c" run = "C ./arknights_pulls_simulation.c"

That's it
Thanks!

Hope this helps

Profile icon
CodeLongAndPros

@PattanAhmed
Uh do you know how C works? It’s a compiled language for one.

Profile icon
PattanAhmed

@CodeLongAndPros
LoL!
Yes I know...