貌似真的是那个错误……就算不是那也是需要修正的
然后怎么解决这个问题呢,第一这个变量存储的是字符串,所以需要变长,有时值为一个常字符串,有时值为一个转换后的字符串(malloc的,需要free)。怎么办呢……于是搞了个全局变量(其实直接malloc也行),然后每次strcpy进去。
已经提交了,在r311
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Δ
This site uses Akismet to reduce spam. Learn how your comment data is processed.