Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about C programming
#11
Well, it's a cheating way of doing it.

Since I'll eventually be using the char array to write to a file, just do this...

fwrite(myCharArray, 1, 7, MyFile);
fseek(MyFile, -7, SEEK_CUR);
//define a new char type, then fread it
Reply


Messages In This Thread
Question about C programming - by Fiel - 2009-08-14, 01:30 PM
Question about C programming - by Spaz - 2009-08-14, 01:48 PM
Question about C programming - by Fiel - 2009-08-14, 01:54 PM
Question about C programming - by Fiel - 2009-08-14, 09:18 PM
Question about C programming - by kingdj333 - 2009-08-14, 09:22 PM
Question about C programming - by Russt - 2009-08-14, 09:26 PM
Question about C programming - by Turtally - 2009-08-14, 09:28 PM
Question about C programming - by Fiel - 2009-08-14, 09:35 PM
Question about C programming - by Heidi - 2009-08-14, 10:37 PM
Question about C programming - by Dusk - 2009-08-14, 10:52 PM
Question about C programming - by Fiel - 2009-08-15, 02:19 PM

Forum Jump:


Users browsing this thread: