Help with some data writing - I can't make it more speciefic then that
Ok, How are you guys doing? the reason why i'm posting is because i seem to run into some "techincal difficuties" when writing data from a buffer, mainly this:
Quote:
Player Name: Gordon
Player Health: 100
Player Shields: 100
Player Position:
X: 300
Y: 100
Z: 100
now it looks good but the buffer is 256 and when i save the file and open it, there's data written to file that's a bunch of "i"s so i'm wondering how can you make a char buffer that will know exactly how much the size has to be for the data ro be written to file and not have that left over garbage? maybe i'm not explainging my self good.......:-p anyways, if u don't get it i'll just post the file or the picture on photobucket.