Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 136 Bytes

程序编写原则.MD

File metadata and controls

7 lines (6 loc) · 136 Bytes
  1. 使用指针前,必须先判空!

     if(NULL != p && NULL != gameObj)
     {
         ++p->age;
         gameObj->create(); 
     }