I'm taking a C++ class on Udemy. Like all the other places that teach "Beginner" C++, everything is done with Console Appliactions. In each class Section, there are multiple projects. So I'm opening several Projects in the Workspace. And in each one of them, I have to remove
and
cout << "Hello world!" << endl;
How can I make a template
without these two lines when I start a new Project?
I've already tried
this. But when I tried to save it in the Section folder the other section projects were in, it warned me that the files in that folder would be deleted if I finished the action. So I don't know how to call it on this one. But there has to be a way to rid the main.cpp of those two statements.