Current location - Training Enrollment Network - Mathematics courses - What is the difference between programming C language and C++? How much mathematical knowledge do you need to know to learn programming?
What is the difference between programming C language and C++? How much mathematical knowledge do you need to know to learn programming?
C++ is an object-oriented language, and C is a process-oriented language. The difference is that the function library is different, and C++ provides more functions.

Programming does not necessarily require good mathematical knowledge, but logical thinking is very important. The most important thing in a program is the algorithm, which has little to do with mathematics.

For example, there is a missing number in the number 1~ 100. Please use an algorithm to find this missing number.

First, the sum of the numbers from 1 to 100 is 5050. Now let 5050 subtract the sum of numbers from 99, and the result is the missing number.