Ask coding questions

← Back to all posts
How can I compile only 1 c file in a project?
mike3405 (0)

How can I compile only 1 c file in a project

Answered by Coder100 (17027) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (17027)

you can do a .replit file

run = "gcc <file>.c ; ./a.out"

replace <file> with el file

mike3405 (0)

@Coder100 Thank you so much it works