Some experience (1) to turn professional after the C language Buxiu

After the transfer of software engineering, the original C language programming only three credits, and Information Institute of C language programming, four credits. I can only again forced to again Buxiu C language, C language for self think freshman the study has been basically enough, but I found the School of information used is not the same after the book, that book made some for watching, for the C language, there has been some new experience. Su Xiaohong teacher's book is different from the book Hao strong, textbooks introduction of very in-depth, practical meaning people really feel the charm of programming Here are some of my current experience:

    First, in the introduction, the author presents a strange phenomenon: C language, although most are not optimistic about the language, but ranked second in usage but all year round, and continues to broaden its field of application. This is people puzzled. . It is precisely because the C language shortcomings, only C ++, C #, and many other variants of the C language. but in fact, almost all of the C language has its shadow. I personally feel that C is the basis of all languages ​​is not excessive, C programming language as an introductory language is really better. This could be considered to address some doubts in my heart: Why college freshman is not information we have to learn C language, while learning more shallow, but the idea is so true to the experience.

   The second point, although other C language has no advantage, but the efficiency of the C language itself is the highest of all languages.

   Third, the purpose of learning C language does not lie in how to use it, but that he can make people understand a lot of sense.

   Fourth, with regard to Chapter II (C data types) to expand the content of which is referred to a signed integer and unsigned integer, which referred to in this computer integer type of storage, which is eight bits, wherein for signed integer bits, the most significant bit is the sign bit i.e., 1 for negative, 0 represents a positive number.

   The fifth point: the origin of the name of the float. The so-called floating-point numbers, as opposed to fixed-point, it is this so-called fixed-point, refers to the number of decimal places will not change. The float is floating decimal place numbers, the floating-point real number into a mantissa and exponent is represented in two parts, S is generally defined as pure decimal form, order code must be an integer, either positive or negative. Order digit code number table determines the range occupied by the real number, the number of bits occupied by the mantissa determine the accuracy of real numbers, positive or negative sign of the mantissa determined real number. In fact, this is somewhat similar to our school math scientific notation, but it was an abstract concept in the computer. Table with floating-point representation is much larger than the range of the number of fixed-point representation, and very flexible.

  The sixth point: float accept up to seven significant digits, double accept up to 16 significant digits. Behind the number of valid digital output is inaccurate.

Guess you like

Origin www.cnblogs.com/wushenjiang/p/11925256.html