Skip to main content
GameDev.net gamedev.net
🔒 Locked

open gl save lines[i] array

Started by missy1 May 17, 2003 at 12:02 PM 0 replies 150+ views
Original Post
missy1
missy1
this is how i wrote lines buffer to file,works well, but the inverse does not function{cant read them back,need real practical solution},the lines buffer loads with all data,but wont display? why any idea ? is it the fact im missing the z element some how thanks for any help in advance missy1 out missywon@hotmail.com <--- ================================================================= //3drw write mesh design to mesh file. ************************ void write3drw() { FILE *fp; fp=fopen("mesh.3drw","w+t"); for(int i=0; i<=numLines; i++) fprintf(fp,"%s",lines); //altered %s made it now %c fclose(fp); } [edited by - missy1 on May 17, 2003 1:45:01 PM]
-)-* ''''''''

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.