简体   繁体   中英

Codelite C++ new project

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM