WxWidgets beginner guide (1) -- Preface

Source: Internet
Author: User
Tags wxwidgets

WxWidgets full directory for beginnersPDF and attachment download 1 Preface
2. Download and install wxWidgets
3 wxWidgets application initial experience
4 wxWidgets learning materials and usage instructions
5. Use wxSmith for Visual Design
Appendix: learning material list


1 Preface
1.1 about "Guidance"

The "C ++ programming" course in the university aims to master the basic C ++ syntax and use it to solve general computing problems. The program compiled by students in learning is not the same as the actual product in terms of "appearance. My students expressed their feelings about why I always had to face the "black box" and the interface was very friendly when I used the program.

By the way, I am talking about "program and user interfaces", commonly known as "interface ".

In the process of becoming a qualified engineering technician, college students need to be trained in multiple stages and links. One course focuses on the main problems to be solved, and other courses resolve other problems. University courses have the characteristics of this phase. In actual projects, many "Products" made using C ++ do not need interfaces at all. They access the underlying code and have high performance requirements for key computing, non-C/C ++ is not supported. Interface, in some sense, is not the core.

However, as a popular product, if it does not have a good looks, it may be a failure. In any case, I learned C ++ and used C ++ to make interface-friendly programs. This idea cannot be lost. As a student who has learned C ++, it is a great honor to be able to make a beautiful application, such as the Tetris game. This can also be used as the beginning of a new phase. At the university, you have taken the courses you have completed. This can be expanded on your own outside of the classroom.

For students with C ++ basics, a preliminary "advanced" plan should be developed. This article is to do this.


1.2 Why wxWidgets

WxWidgets is an open-source cross-platform C ++ framework that provides GUI and other tools. WxWidgets can be used not only to develop "interface" programs, but also to support applications in common fields such as graphics, multimedia, and networks.

If you have mastered wxWidgets, you can solve common tasks that need to be completed by computers. With the wxWidgets development experience, it also opens the door for introducing other architectures for development.

WxWidgets is open-source and free for personal and commercial applications. WxWidgets supports almost all operating systems today, including support for handheld computers. The wxWidgets community is growing rapidly and steadily, and more tools are available. WxWidgets supports various mainstream compilers and supports software migration through "recompilation. WxWidgets attracts me and tries to use the "native" GUI style of the target system as much as possible. The interface and environment are exceptionally harmonious.

For wxWidgets, you can search for more information on the Internet.

Also known as the C ++ architecture library, there are MFC and Qt.

MFC is a classic product made by Microsoft. Of course, MFC is only applicable to Windows platforms and is also old. For college students who have just started in this period, they should directly learn cross-platform development. It is also my attempt to direct my students to open source code.

Qt is also cross-platform and open-source. Qt is maintained by commercial organizations, and some even say it is better.

Which language is better and which platform is better? There are many complaints about this. In fact, for beginners, it focuses on the process and experience. IT is no longer an era of "one end", not to mention being in a fast-changing IT industry. This is the most important thing to learn B and C through the experience of learning.

Maybe wxWidgets is an accident in this article. With wxWidgets, you can get the initial experience of C ++ application development. In addition, the reward is an extra gift.

In this article, Code: Blocks is also used, an excellent open-source C ++ IDE. Why is it Code: Blocks, not VS20xx, or something else? The same boring problem is not compared. The actual situation is that in my teaching, my student union uses a variety of Ides, mainly using Code: Blocks. The Code: Blocks is good.


1.3 methods of reading this article

Just look at the empty stick style. This article, as well as the learning routes pointed out in the future, does not go on, but on.

You can watch it in white. After reading it, if it is not done, the result is inevitable. In combination with reading and training, you must acquire practical knowledge and skills.

This is done while watching.


1.4 basics required for reading this article

This article is intended for beginners, especially those who have learned C ++ courses only according to their teaching requirements, or who have learned C ++ for a period of time.

  • General programming knowledge and skills: In simple terms, I have learned C ++ courses and have done some exercises. Has mastered basic concepts such as class, object, constructor, overload, inheritance, and Polymorphism in C ++. To complete the course, go to my "C ++ programming course homepage-level 2013", http://blog.csdn.net/sxhelijian/article/details/11890759to complete the practice.
  • Code: Blocks debugging program: If you have used C ++ programming on other platforms, download and install Code: Blocks on your own, then you can compile and run several programs. Code: For Blocks usage, see http://blog.csdn.net/sxhelijian/article/details/17710041.

1.5 features

The biggest feature of this article is the tiger's head and tail.

This is the author's self-praise, not criticism. The purpose of this article is nothing more than two points:

(1) Instruct readers to build an environment where they can start working.

This kind of exercise is precious enough to configure the environment. However, in the process of building the environment, there are a lot of details that can be learned not at half past one, and a lot of content needs to be solved and understood in the future. This article always remembers that wxWidgets should be used as soon as possible to make programs so that readers can get started as soon as possible. This is the top priority.

To this end, as long as you can continue this process, ignore everything you need to know in the middle. After the reader's experience, you can repeat it again to find that there are insights everywhere.

(2) guide readers to use documents correctly

In the software development process, online documents, rather than books, are most used (sometimes online documents are printed as books ). Learning to use links in online documents as early as possible to find the desired help information, which is a learning revolution for beginners.

The reason is that everything is difficult at the beginning. This article only solves the problems at the beginning. Just open the header.

The reason is that as long as you start with it, there will be countless pieces of information for your use. Some people say that wxWidgets has few references, because he does not use the existing materials.

Create a tiger head first, so that beginners can continue with the tiger body and tail.





======================= Author he Lijian CSDN blog = | = Category of IT student growth guidance column (occasionally updated) ==||== C ++ online class column he Lijian Course Teaching Link (by course grade) ==|||== my book-"attacking the university against the normal energy passed to IT students" ==|==== paving the runway for IT cainiao to take off, A university that enjoys happiness and passion with its students ====


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.