Programming notes

来源:互联网 发布:windows 10怎么关闭f1 编辑:程序博客网 时间:2024/05/16 12:28

1.Variables should be initialized.

 

2.Before using pointer, should make sure that it is not null.

 

3.Under if section, should add {} to contain the code regardless of only one line. Because some compilers may miss the line under if section for special characters, then it will make the line excute all the time unless the if section is false.

原创粉丝点击