How to switch running scripts in C?
h
Crcoli7307

I am making a program in C and it has multiple scripts. In python, you can just do exec(open("foo.py")). But how would you do that in C? Like how do I execute a different script in C?

You are viewing a single comment. View All
Answered by xxpertHacker [earned 5 cycles]
View Answer
xxpertHacker

@Crcoli7307 You're main must be in the main.cpp, you need to have a good understanding of how multiple files interact in C first.