1. notepad++ and Dev-cpp can compile and run, environment variable settings:
- Add "bin under Dev-cpp MinGW64" in Path, which is the path to find the GCC compiler.
- Create a new Library_path variable and add "lib under Dev-cpp MinGW64" in its value. This is the path to the standard inventory drop.
- Create a new C_include_path variable and include "include Under Dev-cpp MinGW64" in its value. This is the path to the include lookup header file.
After the setup is complete, under the CMD console window, enter Gcc-v. If it has been successfully installed, the version information of GCC will be displayed. 2. notepad++ Press the shortcut key F6: Compile: cmd/k g++-O $ (current_directory) \$ (name_part). exe "$ (full_current_path)" &pause & Exit Run: cmd/k "$ (current_directory) \$ (Name_part)" & EXIT can be selected notepad++ $ (nppexec) under plugins follow in Current_directory, Here you can omit the note: here is the C + + version, c changes the g++ to GCC. Report:C + + pointer constant notationSay a well-remembered way to differentiate int const *P with int* const p, to read * as pointer to and then read from backwards.
The first int const *P can be read as p is a pointer to const INT,P are pointers to constants
The second int* const p can be read as a const pointer to int,p of p is a constant pointer to the INT type
notepad++ with MinGW configuration compile and run C + +