New file initialization(re)


#1

Sorry for reposting my previous topic, but i didn’t get a correct answer or explanation.

Good day everyone, i enjoy using Atom text editor and want to edit my initialization script.

I’m not good in Python(scripts are written in Python) and want to know, what i should write in my Init Script for opening all new files with extension .c in such format:

include < stdio.h>

int main(void){

getchar(); getchar();
return 0;
}

Thanks for help and good luck.


#2

Closing this as a dupe of your original post where it looks like this was resolved?

In the future, please continue the discussion in your original post, don’t create a new one - it’s helpful to keep all the context and discussion in a single place.


#3