阅读背景:

如何使结构数组成为单个字符串?

来源:互联网 

I'm having a tough time figuring out how to get this structure array to appear as a single string "c_str" when I use the printf function. As of now I only can only get c_str to be one part of the line structure array, in this case the 24th line. When I use print(c_str); i would like the output to display all of the data that is in the code. It needs to be stored as a string because I have a function that needs to access n,m,gnm,hnm,dgnm, and dhnm.I'm having a tough time figuring out how to get




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: