r/cprogramming • u/Steam_Liker_2002 • 25d ago
Code initializer program.
To be honest, that's the best name I could think of.
You know when you start writing a file you have to type the usual
#include <stdio.h>
int main(int argc, char* argv[]){
return 0;
}Well this program makes it for you. It's may sound very simple, but at least it saves some time.
Source code:https://pastebin.com/yMj7njqC(Sorry github won't create an account for me, it says invalid domain?)
2
Upvotes
View all comments
Show parent comment
4
u/chibiace 25d ago
yeah i made my own thing that just copies the template files for the selected language to the current directory, im only really saving time on the Makefile because i want to have all that stuff standardized between projects and im not sure i could remember all of it from memory.
though i actually like writing out main.c, its like stretching before a run.