<Kingofark About 50 Views on Learning C ++ and Programming> Detailed - Preview

zhaozj2021-02-08  373

Explanatory Notes on preview

Preview

[Note]: is the abbreviation of "Kingofark's 50 Points Of View About Learning C and Programming" (Kingofark about 50 perspectives for learning C and programming); is "Kingofark's 35 More Points of View About Learning C and Programming "(Kingofark About 35 views on learning C and programming).

Terms 1. Take C as a new language study (nothing to do! Really.);

Interpretation]:

This article derived from "Show Standard C as a new language" in the "Programmer" magazine 2001, "," the author is C designer Bjarne Stroustrup. This article can also be found on the Bjarne Stroustroup's personal page.

This time in time is very good to adjust my thinking, let me have to change the C this language and myself to C when I start school C , and I will start "K's 50". PV> written.

In fact, it is very simple to give a reason for this Terfement, I only quote the Bjarne Stroustrup in this article:

"Take Standard C as a landscaping C or landscaped C with classes, just wasting the beauty opportunities provided by standard C ."

[Kingofark's harvest]:

I often read the articles of the masters, follow the advanced ideas of masters, don't let them live in different times with Masters.

[reference]:

Terms 28, 29.

Terms 4. Don't be confused by vocabulary such as VC, BCB, BC, MC, TC - they are all integrated development environments, and we have to learn is a language;

Interpretation]:

VC: Microsoft Visual C

BCB: BORLAND C Builder

BC: Borland C

MC: Microsoft C

Tc: Turbo C (sometimes Turbo C )

WC: Watcom C

Various simplified, mixed oral names are easy to make beginners feel confused, which is normal. However, in fact, as long as you pay attention to it, these confuses can be completely eliminated.

You can pay attention to the following points:

(1) Due to the C language (other language is also the same), it is always necessary to use an integrated development environment as a carrier, platform to be real "use", so people are easy to use an integrated development environment in verbally. One language (such as VC, BC, TC, etc.);

(2) The programming language requires a carrier to be used, which is like Chinese, English must be said to be said with a mouth, and write it with a pen to play; (3) Compiler (or interpreter) Sometimes Refers to the name of the integrated development environment (for example, do you compile with VC? "It should actually be" compiled with the C compiler of VC? ");

(4) As long as you know more about the details of various vocabulary (usually in English full name), you can easily find that some of you should make it clear;

(5) In the oral, please try to be accurate without affecting normal expression, don't confuse more updated beginners.

[Kingofark's harvest]:

"I don't want to learn the language in this language."

[reference]:

Terms 6, 9, 39, 41.

Terms 6. Will use Visual C , do not explain that you will C ;

Interpretation]:

Visual C This integrated development environment really provides us with a lot of things, including huge MFC (Microsoft Foundation Class), cute buttons, very "professional" help window, people are very accomplished About windows, and many more. However, the core algorithm of a particular program still needs us to provide, the class that is suitable for specific procedures, is still required to derive and manage, most of the data structure of most specific procedures still need us to implement - only we are in VC Do some things will be made.

Many people have claimed me that he "will" VC. But in addition to the examples, they can't do anything.

The reason why VC is "integrated development environment" is because it is the "environment" that carries C , and C is the main body we have to pay attention to.

With the cheers, cheers and fans of the racket, the football movement is more charm. However, we are still a football, not a fans on the scene. The relationship between VC and C also includes similar truth.

[Kingofark's harvest]:

Go out, don't kick the object.

[reference]:

Terms 9, 24, 39, 41; Terms 4.

Terms 8. If it is not a genius, don't want to play games - you think you have done it, in fact, your C level does not change with your customs clearance - it can always remember: learn C is In order to compile the game;

Interpretation]:

Just say three points:

(1) Www.1cplusplusstreet.com has a lot of interesting content to learn C , quite good;

(2) A lot of famous games are also available in active code;

(3) The resources of Open Source are also a great place to learn.

[Kingofark's harvest]:

People who are more keen on video games have about two "customs clearance methods":

(1) Cool game -> play game-> I want to play games-> I want to play games-> Become super super super ... (sweat) class player; (2) Cool game -> play game -> Making the game Produce curiosity -> Drilling Game development knowledge -> Become a potential / powerful amateur / professional game developer.

[reference]:

Terms 18.

Terms 16. Hang the fashionable technology in the mouth, it is better to remember the outdated technique;

Interpretation]:

It still emphasizes a person to learn to practice.

I always heard a lot of people who have already seen a certain technology, and I have learned it. Among them, objects that have been attacked are like DOS, Mode 13h, Win3.1, VGA, and even Win95, Pascal, C, C , etc. These people are impetuous (see Terms 10), one flavor pursue "new" technology, do not know "new" technology, "new" theory is not inheriting the essence of the former wisdom.

An example of my most familiar is the "Michael Abrash's Graphics Programming Black Book Special Edition" of Michael Abrash. This is full of discussion and research on the coloring of VGA, 286, MODE X, 256 color in this classic masterpiece.

"Ah, what you said is really outdated," I started to hear someone said.

Has it outdated? My answer is both affirmative and negative.

Indeed, with the rapid development of computer technology, it may not need to use Mode X to write a graphic program; yes, 256 colors have not been angry; good, Win3.1 has become Yellow flowers yesterday. However, friends who have a "high" friend, don't forget the true purpose of learning.

When I was young, I often happened to school, and my achievements were not good. Every time the exam score is not ideal, I always have a desperate worries for future learning. Every time, my father always patted my head and said: "It doesn't matter, I will work hard in the future. It is a kind of hard work. The purpose of learning is to hone your will. By learning the process With a variety of tests, they will slowly become able to overcome the various things encountered in their lives. The exam is also an hard work, nothing is worried, don't be afraid. "

"Michael Abrash's Graphics Programming Black Book Special Edition" contains author Michael Abrash immersed graphics development field for decades of experience, its profound optimization concept is the real reason for winning readers, experts to tear the sound (familiar with quake Friends of video games must also know that Michael Abrash's contribution is. I tried to say the hero master today, who dared to stand contest: "I don't need to optimize technology?"

Don't you need it? do you need? Don't you need it? do you need? Don't you need it? ......

Hey, I think the answer to this question is understanding.

[Kingofark's harvest]:

Even if the feces are not worthless, let alone a bunch of gold in the diamond.

Terms 18. One of the best ways to learn programming is to read the source code;

Interpretation]:

This is recognized by the world, the famous authoritative experts, the depends on Dr. Richard Stevens. We can see this from the classic books he worked. A "TCP / IP ILLUSTRATED VOLUME II" (TCP / IP Detailed Volume 2), the original original code contains 1,5000 lines of code in BSDLite4.4, very realistic brings the readers of this book into a truly Programming world. The OpenSource movement is getting more and more strong; there are more resources that can be found on the online, the bookstore.

The conditions for learning are provided to you, and now you have it.

[Kingofark's harvest]:

Choose: To soar in the sky, the best way is:

A. Do a wings yourself, from the cliff;

B. Make a glider, find a flat wasteland by wind taking off;

C. Driving a good aircraft, take off on the construction of a good runway;

D. Take the plane to the high altitude, then the parachute (perhaps with a skateboard), jump out of the plane.

I chose D.

Terms 21. Please understand the book, please look carefully; please understand the book, please look hard;

Interpretation]:

The child has just lived, it will not say which language, of course, I can't understand, I can only "hard my scalp" listen to my grandmother Mom and Dad, my brother, my uncle, Auntie, said, I have a long time, I will .

Learning itself is a process never got to be, never familiar with familiarity, never understand the process. If you don't understand, you don't look, it's equal to nothing.

In addition, this is no reason to say it. If you don't have to say, Mr. Lu Xun knows that "Everything is necessary to study to understand" the truth; two, always look at something that you have a light car, you don't have a challenge. ?

[Kingofark's harvest]:

In fact, Aq is not there!

[reference]:

Terms 3; Terms 26.

Terms 25. Discuss meaningful C knowledge points with others, rather than quarreling XX can't do or YY and ZZ which is better;

Interpretation]:

Especially in the performance of "impetuous", it is because you want to recommend Mr. Houjie 's article "Watch Programmer". This article published in "Programmer" Journal in 2001, 2001; can also be found on Mr. Houjie's website.

The text is specially discussed in this regard with a small title "The war of the tongue", I hope everyone can digest.

[Kingofark's harvest]:

Good envy dumb.

[reference]:

Terms 10-15, 49; Terms 23.

Terms 30. After reading "INSIDE THE C Object Model", then it will be found to have learned C ;

Interpretation]:

About "INSIDE THE C Object Model":

"C into the book heap of books like the sea, this is not a baby milk powder, nor a larger baby milk powder, which is a special low-fat high calcium special milk powder dedicated to adults."

Any technology, learning its skin, you can play; to explore the hidden, you can be familiar; to get the essence, the party can be handled, such as making your hands well in place.

People have different levels of understanding of the word "meeting". I thought that usually we should understand it in the narrowest way. This is not in demanding yourself, but instead checking yourself enough to impetuous. [Kingofark's harvest]:

The calm is said to himself: "I will not!"

Terms 50. Please love C !

Interpretation]:

Please love C , but avoid the fantic molecules of smashing, superstition C .

[Kingofark final gain]:

Speaking of C : "Everybody Says I Love You But no more."

Official version is recently launched, so stay tuned!

转载请注明原文地址:https://www.9cbs.com/read-376.html

New Post(0)