Question: how to create cpp file?
Answer: Open notepad.
Write a simple code like; #include <iostream> using namespace std; int main. { cout<<"hello world"; }
Save the file with extension "***.cpp" or "helloworld.cpp";
Then compile it or you can debug your code with " codepad "