Skip to content
Sign upLog in
← Back to Community
How do i run a specific file in C from a repl?
Profile icon
LucasFR95

https://repl.it/@LucasFR95/Recursividade
Hi guys,
I wonder how to run only one file from the list of repl files.
The purpose of this question is I understand that repl runs all the files in a row or am I wrong ?
It appears " clang-7 -pthread -lm -o main chines.c hanoi.c main.c"

Voters
Profile icon
MichaelRigsby
Profile icon
JenniferMcClint
Profile icon
LucasFR95
Comments
hotnewtop
Profile icon
Highwayman

You are wrong, it only runs one main() so that second one is an error thing bug whatever you want to call it.

Edit: the stuff in the console should be ignored for now I’d say. I think it’s just loading the file?