I know that everyone uses an IDE nowadays, but I just find it simpler to write my code in notepad++, compile it using a command prompt command, and run it from there too. At
g++ -o program file_name.cpp
.\program.exe
Let us Check this image