Pedagogical suggestion. End binary files with the ".bin" extension, and end regular text data files with ".dat" or ".txt", even though like you said, file extensions play no role in the format of the stored data. Excellent, and very useful video.
@mladenmijailovic83095 ай бұрын
Its sad that you are not making videos anymore. You have nice voice and you are easy to listen to
@Garfield_Minecraft2 ай бұрын
thank you for the tutorial it works ;save player data ;open file push format_write_binary push save_file_path call _fopen add esp, 4*2 mov dword [save_file], eax ;save health push dword [save_file] push 1 push 4 push health call _fwrite add esp, 4*4
@Clarivex3 ай бұрын
Great video man, it helped a lot. Beej's guide was bit complicated
@josuearielariasv.80416 ай бұрын
can you made a video of how to write data from a C structure and read it next?
@ahmadjanshahrukhjan2671 Жыл бұрын
wow thank you keep it up!
@filipponk2688 Жыл бұрын
Great video, very helpful. Thank you
@carlosdalomba2 ай бұрын
Awesome, simple explanation. Love it! I do have an endian question, So based on your example writing the 4-byte integer 32, which became 20 00 00 00 (in base 16, hex) in the binary file, this means your machine is Little Endian, right? Since the bytes with the smallest values (containing values of 0-255, which 32 is apart of) are stored first (in the first memory address of the 4 bytes of that int) Big Endian (which is used for transmitting data over networks, aka NBO (Network Byte Order)) would write that same 4-byte integer 32 as 00 00 00 20, right?
@vaibhavnayak65217 ай бұрын
really nice video.
@omarabdelmawgoud7914 Жыл бұрын
nice video bro ❤
@oussamaazzouz98822 ай бұрын
Best explanation in internet❤ Thanks sir
@theadam12a122 ай бұрын
Still waiting for the next episode
@ig_okayeg Жыл бұрын
great vid thank you
@iTpal2411 ай бұрын
What IDE are you using in the video?
@Phoeyuh11 ай бұрын
Visual studio code
@swedishpsychopath8795 Жыл бұрын
I knew all of this from before so it was pure torture to see you fumble your way through this video. Please prepare your content better next time.
@astrocodes Жыл бұрын
Fair call. But if you already knew it, why were you watching it?
@swedishpsychopath8795 Жыл бұрын
@@astrocodes I'm a member of the C knights templars. We watch every C tutorial on youtube to ensure the correctness of them.
@zFede_Rico Жыл бұрын
@@swedishpsychopath8795 wow that's cool
@LemonDadsicle10 ай бұрын
I thought him fumbling was bringing some humanity into the tutorial given how complex and overwhelming coding can be to beginners. They served as great reminders in my case anyhow.