我知道那里存在几个文本与通知问题,但我很难把这些问题同起来。
在C++上我并不好,但需要将其用于我的开放Gl方案拟定工作。
Basically I have made an array of vec4 s (vec4 is just 4 "points" for a coord system), and then I printed them out to a text file. The file reads like so (I eliminated the last point because it is ALWAYS 1 and I figured I could add it in when reading the text file later):
( 0.26, 0385, 0.48 )
( 0.27, 0386, 0.47 )
( 0.28, 0387, 0.46 )
( 0.29, 0388, 0.45 )
因此,每一行各有一行;
现在我想读一下这一文本,把它重新编成一阵。 避免这种情况的最容易的方法是什么(、、、和)? 如果能够消除这些不想要的特性,我也许会写出大量长篇大事,但那将是相当低效率的,而且肯定会有人在那里穿过更衣的手法。
任何建议? 帮助?
感谢!