Binary File Access Introduction | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Wow. Now I see how binary files are faster and take less memory thank text files.👍👍👍👍
Thank you Ms.Kevin

murtazotoshniyozov
Автор

Thank you so much for your imppecable explanations! your videos help me immensely in understanding C.
Quick question, couldn't you use fscanf to read the numbers from the txt file? instead of using the atoi function?

doron
Автор

Quick question, I noticed that sometimes in a binary file, integers are 4 bytes, but are represented in reverse, e.g. the largest positive value for a signed 4 byte int should be 7f ff ff ff before going into a large negative number, but it shows as ff ff ff 7f. Do you know why this might be?

TylerBrooker
Автор

amazing video, can you make a video 'When I create a vector, let's say size of 5, elements are 1, 2, 3, 4, 5 and I want to add at the location( for example index 2) the numbers 200 and 300, the vector should look like 1, 2, 200,300,3,4,5.'

vladguzun
Автор

Hi thanks for clearing this up! Now....
I have a question why do some c projects have like multiple definitions and declarations of the same procedure, type or variable appear in headers alot?

tails_the_god
Автор

Hey, great video.. 1 question tho:
When you say 1 will be represented by 48 and then 48 will be represented by the 8 bits, what is it really means? Why its converting it to 48? is it ASCII?

shlomiashkenazi
Автор

How would you convert the text file to binary file?

filmaker
Автор

How did you get gcc c/terminal/bash working with Visual Studio?

billpabq
Автор

Hi, how would you write to a specific memory address in a binary file?

themohmand