What software to use for C++ programming
c Programming software: 1. visual studio, a basically complete development toolset; 2. code blocks, an open source IDE that can be cross-platform; 3. clion, a professional C programming software; 4. dev c, a compact open source C integrated development environment; 5. Vim.
The operating environment of this tutorial: Windows 7 system, C 17 version, Dell G3 computer.
c Programming software
1、visual studio
Microsoft visual studio community 15/17 (commonly abbreviated as vs), the ide known as the number one in the universe does not live up to its name. What is recommended here is the free community version, which can be said to have the advantages of all IDEs. The disadvantage is that it is huge and bloated (large installed memory), but the background usage is very conscientious. In addition to the basic c language, you can also develop c, c#, asp, etc. Now many companies and individuals are using it, which not only facilitates team collaboration, has high development efficiency, and is very convenient to use.
2. Code blocks
is also an open source IDE that can be used across platforms, that is to say, windows, linux, and macOS are all available. use. It supports the new C99 standard. The installation package is small and only contains all components. It is only over 90M in size. It comes with the mingw compiler, supports colorful syntax eye-catching display, supports code completion, and supports engineering management, project construction, debugging and other functions. The configuration is also very convenient, with simple keyword prompts. The official Chinese version is not provided, but there is a third-party Chinese version.
3, clion
This is a professional C/C programming software, a product of jetbrains company, the same type of idea, pycharm, etc., everyone should be very familiar with it. learn. It supports common functions such as smart completion, syntax prompts, and code highlighting. In addition, it is also compatible with advanced functions such as cmake and code reconstruction. Therefore, development efficiency is higher and it is more suitable for professional developers. However, the disadvantage is that the software itself is not free and requires Pay for copyright.
4, dev c
Open source c ide, one-click download and installation without any extra configuration, there is a Chinese version. The themes are diverse and quite lightweight. It comes with simple GCC and GDB debugging tools, which can directly compile and run C programs. The basic functions are very similar to the early VC6.0, without any automatic completion, syntax prompts and syntax checking functions, and there are relatively few plug-in extensions, so , for beginners, it is a great exercise for basic skills.
Features:
Optimize and improve the code completion prompt function
Check for syntax errors when entering Enter, and Errors are marked with wavy lines
User editing interface enhancements and improvements
Redesigned and improved debugging functions
Improve structure browser
Automatic linking function: You can decide which library files to link during compilation based on the header files included in the user code
When running and debugging the console program, you can use a data file instead of standard input (keyboard input). This can reduce the trouble of repeatedly entering data when debugging the program
Integrate the EGE drawing library and the turtle drawing library and their project templates to enhance the learning interest of beginners
Supports opening, editing and compiling UTF-8 encoded source code files.
Add the Refactor->Symbol Rename function.
GCC 9.2 and GDB 9.2 (Mingw.org version, compatible with Windows XP. Starting from version 6.3-beta2, it will be changed to mingw-w64 gcc 10.2)
Compatible with Windows XP/Windows 7/Windows 10
Supports Windows 7/Windows 10 high DPI
5, Vim
It is said that vim is a "god editor", I installed one with the mentality of giving it a try:
Personally, I think vim is the best The advantage is that it can work in a command line environment only, such as ubuntu server.
Of course, there is also cross-platform!
For more programming-related knowledge, please visit: Programming Video! !
The above is the detailed content of What software to use for C++ programming. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



In C, the char type is used in strings: 1. Store a single character; 2. Use an array to represent a string and end with a null terminator; 3. Operate through a string operation function; 4. Read or output a string from the keyboard.

Causes and solutions for errors when using PECL to install extensions in Docker environment When using Docker environment, we often encounter some headaches...

The calculation of C35 is essentially combinatorial mathematics, representing the number of combinations selected from 3 of 5 elements. The calculation formula is C53 = 5! / (3! * 2!), which can be directly calculated by loops to improve efficiency and avoid overflow. In addition, understanding the nature of combinations and mastering efficient calculation methods is crucial to solving many problems in the fields of probability statistics, cryptography, algorithm design, etc.

Multithreading in the language can greatly improve program efficiency. There are four main ways to implement multithreading in C language: Create independent processes: Create multiple independently running processes, each process has its own memory space. Pseudo-multithreading: Create multiple execution streams in a process that share the same memory space and execute alternately. Multi-threaded library: Use multi-threaded libraries such as pthreads to create and manage threads, providing rich thread operation functions. Coroutine: A lightweight multi-threaded implementation that divides tasks into small subtasks and executes them in turn.

std::unique removes adjacent duplicate elements in the container and moves them to the end, returning an iterator pointing to the first duplicate element. std::distance calculates the distance between two iterators, that is, the number of elements they point to. These two functions are useful for optimizing code and improving efficiency, but there are also some pitfalls to be paid attention to, such as: std::unique only deals with adjacent duplicate elements. std::distance is less efficient when dealing with non-random access iterators. By mastering these features and best practices, you can fully utilize the power of these two functions.

In C language, snake nomenclature is a coding style convention, which uses underscores to connect multiple words to form variable names or function names to enhance readability. Although it won't affect compilation and operation, lengthy naming, IDE support issues, and historical baggage need to be considered.

The release_semaphore function in C is used to release the obtained semaphore so that other threads or processes can access shared resources. It increases the semaphore count by 1, allowing the blocking thread to continue execution.

Dev-C 4.9.9.2 Compilation Errors and Solutions When compiling programs in Windows 11 system using Dev-C 4.9.9.2, the compiler record pane may display the following error message: gcc.exe:internalerror:aborted(programcollect2)pleasesubmitafullbugreport.seeforinstructions. Although the final "compilation is successful", the actual program cannot run and an error message "original code archive cannot be compiled" pops up. This is usually because the linker collects
