3 ms·
I typically split any single main.c app into two parts: a library which depends on no shared State and a driver program that wraps around it. It's a lot harder
by dekhn 4y ago
I typically split any single main.c app into two parts: a library which depends on no shared State and a driver program that wraps around it. It's a lot harder to build than a monolithic main.c but in my experience it allows more people to build off of your application.