My approach to getting started with Visual C + +

Source: Internet
Author: User

First of all, realistically speaking, my Visual C + + is not already getting started, I am not sure. Now the level is able to read some code, or "literate" for VC.

"N times failure, 1 success, but also learn not how to ... You are too stupid! "If you have such an evaluation, then congratulate you, you have already understood me this person's 99.9%." N This number is exactly how much even I can not remember, conservatively speaking (n≥6==true) This expression can be set up. Back to my Visual C + + introduction process, all the way over, is definitely not like Huang Fei-hung's kungfu as cool and wonderful, and more like a stone down the river, in the bottom of the riverbed, and bumps. Today is the weekend, I put the previous n failed to leave my experience and lessons Hu wrote a few strokes, if a friend to see this humble text, and just intend to try Visual C + +, also is I give you left wilderness a path bar.

I. The basis of the C + + language

Speaking of the introduction of slow, the first reason is the language basis. The computer interest Group of the school organization of High School is Pascal language (I do not know why to speak this language, if it is to cope with the game, then there are C language group AH), so in the university to turn to Windows programming, I first chose the Delphi. When the school requirements of the junior grade Two, two no Delphi, and then turned to VB, the reason is that VB to do with the Delphi is very similar. Later found that VB IDE do better than Delphi, and basic language to write simple, and then abandon the Delphi to go (discerning I am afraid to scold me, if not too lazy, how will like VB IDE?) It is true that, after the article will mention, lazy is not only learning the enemy of VC, and lazy people are not learn anything. With VB for many years to deal with, so I am not accustomed to c/A + + language-I do not like C + + write a sentence to play a semicolon, I do not like the case of letters to be strictly differentiated, I do not like to compare the time to write two equals sign, I do not like ... In short, the C + + is very unpleasant, no good will not be interested in learning (the latter mentioned interest is quite important). Of course, if you ask me now what language I should study, I will not hesitate to recommend C + +, because in the common language, the knowledge contained in the C + + language is quite comprehensive-from process-oriented, to object-based/object-oriented, to templates and paradigms, it can be said to be everything, without exaggeration, Other languages are, to a certain extent, a subset of C + + language or are mimicking C + + and moving closer to C + +.

In several failures, it is obvious to me that learning Visual C + + without mastering C + + language is a purely masochistic experience. Before this introduction, I spent 3 months of time to systematically learn the C + + language, enough to mean it. Then I confidently sounded the door of Visual C + +, oh, this time she finally willing to face. For example, when looking at the DLL call, use the "function pointer", the logical look down, think that if there is no basis for C + + language, basic is impossible. So, before you learn Chinese, don't look at a dream of red mansions, it is not "see map literacy." Advise want to switch from VB to VC learning Friends, if you expect to learn as VB Learning VC Side Learning C + + language, then you can be wrong.

By the way to remind the C + + language to get started friend a little, should pay attention to ansi/iso C + +, that is, standard C + +, the market on the books of C + +, a lot of books are "old books for new Skin", said is still non-standard C + +, must be selected. Computer books are very expensive, we may wish to look for electronic version, there are many online, even the "C + + Primer" or "C + + meditation" Such a good book also has enthusiastic friends put on the internet. However, my favorite is the "C + + programming Golden Code" this book, is worthy of the master of Education to write a book, used to learn very appropriate. As for the compiler's choice, install vs.net2003 if conditions permit, and it is said that the visual c++7.1 compiler is the best compiler currently supported for standard C + +.

Two. VC Learning material Selection

VC easy to get into a lot of reasons, which can not be overlooked is the excellent VC learning relatively few. C + + language is darker, Visual C + + is complicated, and with less data--it's even harder. Less information does not mean that there is no, how to choose or say that mining is the key. The information is divided into three categories: CD-ROM, books (including e-books) and documents (including online).

In the selection of materials, we must abandon the Chinese people's thinking of the two major evil:<1> to reap <2> get rich overnight.

The idea of "doing something for nothing" leads to a tendency to choose "lecture" materials such as multimedia CDs. The result is that CD capacity is often small but requires content (or how to sell it), which leads to poor knowledge consistency and quick talk, let you listen again and again, no effect and shock confidence, finally can only give up. Look forward to the early content rich, explaining the wonderful CD market.

The idea of "getting rich overnight" will make you tend to choose "Crash" class materials. That kind of textbook is mostly deceptive-can you write a pop-up window Hello world, this can be regarded as Visual C + +? We'd better not deceive ourselves. At least you should be able to connect to the database, use the socket bar ... And how can such knowledge be "accelerated"?

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.