Reputation: 171
I am trying to learn C++ by following an Udemy course.
In the videos, when the teacher opens a new project end enters the main.cpp file, at the first line there is #include <iostream>
and "hello world" code after that with std::cout
and something.
However, when I open a new project, at the first line there is #include <stdio.h>
and printf
function like C.
How can I fix that?
Upvotes: 0
Views: 738
Reputation: 31
You create a new project. Write whatever you want into it, then rigth click it and select the option called "Save as Template". From there you can name it and save it under user templates. Then whenever you want to create a new project you can select that template and it will come up just like you wanted.
Upvotes: 1