Recent mistake

xiaoxiao2021-03-06  207

Recently written C programs have made a lot of mistakes. Incident here, the mistakes in the future are also added here, I hope to accumulate, in order to explain how progress!

1. The function parameter type (that is, the interface must be defined, especially the variable to SQL, the type must be consistent with the type definition in the field you want to pass, and the type conversion does not do not do in the function definition. )

2, pointer and reference (especially when the modified parameter value needs to be transferred, pay attention to whether the pointer is released inside the function)

3. The variables obtained from the request from Apache must be determined.

4, logic is complete (IF, Elseif, ELSE)

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

New Post(0)