Đàm Ngọc Lan
New member
How do I run a CPP script?
Answer
Answer
- use notepad++ to write the C++ source code.
- using command line change the directory/folder where the source code is saved(using notepad++)
- compile: g++ file_name.cpp -o file_name.exe.
- run the executable: file_name.exe.