Learn C programming from scratch! Is a copy of C Programming enough?

Updated on educate 2024-02-08
8 answers
  1. Anonymous users2024-02-05

    You have to look at **", not memorize**, but you also have to learn the basics of the C language. If you don't even know ABCD, how can you read English**? Reading more about what others write is something you do after you have a certain foundation.

    There's a good copy of "C Programming", but it's still the same, and that's the computer. Don't you practice optical theory?

    With C Programming plus plenty of hands-on opportunities, that's enough.

    I used to use Tan Haoqiang's "C Programming" to learn C about how to learn, I think you still have to practice more and practice quickly, after reading the examples in the book, you must draw inferences, so that you can show that you understand it, ask yourself a few more why, what will happen if I do it like this??

    Then let's do the experiment, haha.

  2. Anonymous users2024-02-04

    The C language is definitely not backrested, and all you can memorize is a few commonly used function names.

    The key to learning a programming language well is your understanding of each function and each step.

    Rote memorization is not advisable for programming.

  3. Anonymous users2024-02-03

    If it's just for the exam, it's okay!

    If you want to write your own program, it must not be enough.

    The most important thing to learn C is a lot of reading**!!

  4. Anonymous users2024-02-02

    If it's for the exam, and the designated is Tan Haoqiang's C book, then read that book;

    If you want to learn programming and learn to program in C language, don't read that book, it doesn't matter if you have zero foundation, it is recommended to go to some programming forums often, such as the C C++ forum on ChinaUnix, and communicate with people who understand; There are detailed guidance and recommendations above.

    Abbreviated as cu, you can search on **;

  5. Anonymous users2024-02-01

    Programming is one of the most important technologies in modern society, which can not only solve many problems quickly, but also help people better understand and control the world around them. C has always been one of the most important languages in programming. The basic knowledge of the C language can help you better understand modern programming languages and be able to get started with various programming languages and development tools faster.

    Basic knowledge of the C language.

    C is a process-oriented programming language that is the underlying language for UNIX and many other operating systems. The basics of the C language include syntax, variables, data types, control statements, arrays, pointers, and more. Learning C can help you better understand the operating principles of the computer, better grasp the operation status of the program from the bottom up, and give full play to the performance of the machine.

    Advantages of the C language.

    C language has the advantages of high efficiency, portability, and high control. Especially when compared to other high-level languages, the performance of the C language is the best. In general, C programs can run several times faster than other high-level programming languages.

    And, because of the high control of the C language, programmers have better control over the hardware and are able to exert more flexibility in embedded systems and low-level programming.

    The scope of application of the C language.

    Due to its high efficiency, portability, and good compatibility with hardware, C is widely used in various fields. Including embedded systems, operating system kernels, database management systems, graphical user interfaces, network processing, game production, etc. C is also a programming language used by some very well-known open source projects, such as Linux operating system Neitu and Kernel, SQL database management system, and game production software.

    Precautions for the use of the C language.

    Although C is an efficient and flexible programming language and is widely used in a variety of fields, there are some issues to be aware of when using C. First of all, you need to pay attention to the pointers and memory management in C, because these are relatively difficult to understand and can easily lead to program errors. Secondly, you need to pay attention to security issues.

    Since C doesn't have a lot of built-in security mechanisms, programmers need to be quite careful to design their programs to prevent out-of-bounds, buffer overflows, and so on.

    Conclusion In short, C is one of the major programming languages, and it has many advantages such as controlling the underlying programming, designing efficient programs, and developing high-end applications. At the same time, due to the high pointer and memory management requirements of the C language, security issues also need to be paid attention to, so the learning and use of the C language is also difficult. Either way, learning C is a valuable investment for the modern programming world.

  6. Anonymous users2024-01-31

    Hello, sum is a variable of int integer.

    The function of this ** is to define an int integer a=123; an int integer of b = 456;

    Then a and b are added and assigned to sum, that is, sum is the sum of a and b.

    The value of printf is then output to the terminal in decimal %d.

  7. Anonymous users2024-01-30

    The subject diagram has already been annotated,The function of the max function is to find the greater of two numbers。To illustrate by example.

    1)int max(int x, int y);This part is the function definition, and int indicates that the return value of the max() function is of type int. int x, int y represent the formal arguments x,y. In the actual invocation process, you need to pass in the actual parameters.

    2) The part in the body of the function.

    First, the variable int z, which is used to store the compared value, is declared.

    Then use the if statement to make a judgment, compare the size of x and y, and assign the larger value to z.

    Finally, return, returns the value of z to the major key function.

    3) Suppose the incoming x=200, y=100

    Execute if(x > y) z = x; In this case, compare x>y, that is, 200>100 is true, and the value of x will be assigned to z, that is, z=200, and the return statement will return the value of z.

    4) Suppose the incoming x=100, y=200

    Execute if(x > y) z = x; In this case, compare x>y, that is, 100>200 is not true, the else statement will be executed, assign the y value to z, that is, z=200, and the return statement will return the z value.

  8. Anonymous users2024-01-29

    Hello, it is my pleasure to serve you and give you the following answer: Computer Fundamentals and Programming is not a C language, but a course covering computer hardware, operating systems, programming languages, algorithms and other aspects. Steps to solve the problem:

    1.First of all, it is necessary to clarify the definition of the problem, determine the scope of the problem, and grasp the key points of the problem in order to better solve the problem. 2.

    Second, it is necessary to analyze the problem and decompose the problem into several sub-problems in order to better solve the problem. 3.Then, it is necessary to collect information about the problem so that it can be better solved.

    4.Finally, it is necessary to design a solution, based on the definition of the problem, the analysis of the erection elders, and the information gathered, to design a feasible solution to better solve the problem. Personal Tips:

    When solving a problem, it is necessary to carefully analyze the problem, grasp the key points of the problem, collect relevant information about the problem, and design a feasible solution to better solve the problem.

Related questions
9 answers2024-02-08

If you want to learn systematically, you can consider signing up for a live online class, and recommend CGWANG's online class. The teacher speaks carefully, you can watch it back after the class, and there are also the same type of recorded classes that you can learn for free (give away lifelong VIP). >>>More

11 answers2024-02-08

In fact, most candidates are 1 year or older.

DU takes the exam within 1 year, and there is no shortage of students who have taken the DAO exam in three or four months, so it is very important to plan for the exam answers! >>>More