New course! Every coder should learn Generative AI!
Try a free lesson+ 2
How to save a c++ program
3 Answers
+ 9
In your computer?
1.Open Notepad++
2.Write C++ program
3.Save As. (Extension:.cpp)
+ 4
if you are using codeblocks for example,
Go to File > New,
Type your program,
Click Save , then Save As,
Give it a name then ".cpp" extension e.g.
helloWorld.cpp
then press enter.
+ 2
Save it as Filename.cpp