In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "the steps of installation and use of Notepad++". In the daily operation, I believe many people have doubts about the installation and use of Notepad++. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about the installation and use of Notepad++. Next, please follow the editor to study!
1. Install Notepad++
(1) double-click the installation package to install, select the language, and then click the "OK" button:
(2) Click "next":
(3) Click the "I accept" button:
(4) Select the installation path. Here I choose disk D to install:
(5) Select the component, leave it by default, and click "next":
(6) finally, check "Create Shortcut Desktop" to create a shortcut on the desktop, click "install", and wait for the installation to complete:
2. Install the gcc compiler
(1) decompress MinGW to the specified path (to remember this path, you need to use it later), for example, I decompress to the path "D:\ Program Files\":
(2) right-click "my computer" and click "Properties":
(3) Click "Advanced system Settings":
(4) find Path in the system variable and click the "Edit" button:
(5) Click the "New" button to create a new "D:\ Program Files\ MinGW\ bin" variable (the path where bin is located is the path you just extracted), and then click "OK":
(6) create a new system variable in the system variable named lib, and the value of the variable is the path of the lib folder in MinGW, and then click "OK" button, as shown in the figure:
(7) same step (6) create a new system variable include, as shown in the figure:
(8) click "OK":
(9) click "OK":
(10) Click the key combination "win + r" to open the running window, and enter "cmd" to enter the DOS window:
(11) enter the command "gcc-v" under the DOS window. If you output the following information, the configuration of the gcc environment variable is successful, otherwise the configuration fails:
3. How to use Notepad++ and gcc for development?
(1) use Notepad++ to edit the code:
(2) copy the path where the source code is located:
(3) Click the "win+r" key combination and enter "cmd" to enter the DOS window:
After entering the DOS black window:
Enter the path where the source code is located. If the source code path (assuming: C:\ Users\ LiZhengNian\ Desktop\ hello) is in the same drive letter as the current path (assuming: C:\ Users\ LiZhengNian), enter the command "cd C:\ Users\ LiZhengNian\ Desktop\ hello" directly to enter the source code path. If the source code path is no longer the same drive letter as the current path, enter the drive letter where the source code is located (for example, the command to enter the F disk is: "F:"), and then enter the path where the source code is located.
Enter the compile command to compile. Compile command: gcc source file-o executable. For example: gcc hello.c-o hello.exe, where the function of "- o" is to rename the generated executable file, or it can be compiled with "gcc source file". The executable file generated at this time defaults to a.exe. (the "Tab" key has automatic completion function when entering a command.)
Run the program. Input executable file to run, such as input: hello.exe
At this point, the study of "steps for the installation and use of Notepad++" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.