Thread
:
[c] write binary file
View Single Post
07-11-2007, 03:43 PM
#
2
(
permalink
)
xepherys
<3 TFP
Location: 17TLH2445607250
For reference:
Quote:
size_t fwrite(
const void *buffer,
size_t size,
size_t count,
FILE *stream
);
You can frontload your buffer with all of the data then call it as your first parameter in fwrite.
__________________
The prospect of achieving a peace agreement with the extremist group of MILF is almost impossible...
-- Emmanuel Pinol, Governor of Cotobato
My Homepage
xepherys
View Public Profile
Visit xepherys's homepage!
Find More Posts by xepherys
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47