C ++ learning-integrated development environment codeblocks (1)

Source: Internet
Author: User

Author:Gzshun. Original Work. Reprinted. indicate the source!
Source:
Http://blog.csdn.net/gzshun

Pay tribute to Bjarne stroustrup!
C ++, An efficient object-oriented programming language. I used to take C ++ programming language courses at a university. So far, I am not very familiar with C ++. I usually seldom practice C ++, it is rare to use pure C ++ to solve the problem. Why? In the development of embedded Linux, C language is mainly used, and most of them are C/C ++ mixed programming. Therefore, there is still no complete learning and practice solution for C ++.

I have always wanted to relearn the great C ++ language. Recently, I have been spending some time to enjoy the fun of C ++ under N, happy programming! Review C ++'s learning notes will be recorded in my csdn blog, so that you can continue to stick to it.

In Linux, although C language is the mainstream, C ++ is also a very good choice. For me, C ++ cannot be left alone. She is a very important part of my mind. In this learning process, we will fully think about problems and write programs based on C ++, which is completely pure C ++ and will not be linked to C.

In Linux, G ++ is generally used to compile C ++ programs. In the process of reviewing C ++, in order to reduce valuable time, instead of using Linux, I will use the mingw tool of GNU windows to compile the C ++ program. Windows is still the king in the graphic interface field. (because my father is not powerful, I have to learn it on the Windows platform for efficiency ).

I will use code: blocks as the IDE for compiling C ++ programs. Code: blocks introduction:
Code: BlocksIs an open-source full-featured cross-platform C/C ++ integrated development environment. Code: blocks is an open source software. Code: blocks is developed by pure C ++. It uses the graphic interface library wxWidgets (2.6.2 Unicode) with the alias. For C ++ programmers pursuing perfection, they no longer have to endure the slowness of eclipse and the huge and high price of vs. net.

The latest code: blocks integrated development environment has integrated the mingw tool into the installation package. This IDE is my first choice. I learned about the code: blocks tool tutorial on the Internet, now you can compile the program normally. I found a relatively good code: blocks tool tutorial, which is very detailed. Click to download:Codeblockstutorial. In codeblocks, you can set the C ++ help document and click to download:Cppreference. CHM
AndCppreference Chinese version. CHM.

Windows Version code: blocks official download page: http://www.codeblocks.org/downloads/26#windows
Two official downloads are available:
1.codeblocks-10.05mingw-setup.exe is integrated with the mingw tool (GCC g ++ GDB) by default)Recommended!
2.codeblocks-10.05-setup.exe does not integrate the mingw Tool

I have posted several codes: blocks compiled program:

1. Enable the Starting Screen of code: blocks:


2. Edit the C ++ code:


3. program running window:



This blog does not describe how to use code: blocks. It mainly providesCodeblockstutorial.

Keep the enthusiasm for learning C ++ popular, and the joy of programming has always been with you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.