Home > Back-end >  Ahhh ball ball bosses quick save me this student! Which is exactly what I cycle goes wrong!
Ahhh ball ball bosses quick save me this student! Which is exactly what I cycle goes wrong!

Time:06-02

CodePudding user response:

T, s are not initialized to allocate space

CodePudding user response:

reference 1st floor gouyanfen response:
t, s are not initialized to allocate space

O speak what to change, have withered

CodePudding user response:

refer to the second floor weixin_46002037 response:
Quote: refer to 1st floor gouyanfen response:
t, s are not initialized to allocate space

O speak what to change, have withered

This depends on what you learned, if you didn't learn to allocate memory preset length, such as char t [100], [100] s

CodePudding user response:

Char * t * s;=> Char t [100]={0}; Char [100] s={0};
You just defined a wild pointer, use an array, calculating the opportunity to give you allocate memory space,

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related