how can i append a binary file(write at the end of it)
fopen("file.bin","wba"); doesnt work!
how can i append a binary file(write at the end of it)
fopen("file.bin","wba"); doesnt work!
Code:fopen("file.bin","ab");
"Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
-Christopher Hitchens
To further explain, w, r, and a are all mutually exclusive. You should never have more than one of them in a single mode string.
If you understand what you're doing, you're not learning anything.