Reading from binary files in C

Reading from binary files in C

CodeVault

4 года назад

56,660 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@TulhoKay
@TulhoKay - 15.05.2023 12:59

I had a very interesting idea if I take a file, extract the binaries from it and concatenate them to form a sequential number, then convert it to decimal. Finally find a tetration that represents this number. I was studying mathematics and I came across the Graham number, the tetration notation seems simple, with few symbols we manage to obtain such huge numbers that not even the entire universe on a sheet of paper would be enough to write in full. Will my idea work? I was excited about the idea. Imagine supercompactors, even offering a service, the hard part is finding powerful processors to handle that volume of data without having to wait hours for operations.

Ответить
@wegi9621
@wegi9621 - 29.04.2023 22:56

Brillant explanation !

Ответить
@jessebaker9430
@jessebaker9430 - 03.10.2022 22:28

I appreciate this! It's is a great guide for loading in structs that you placed in the file, and it is also a great companion for your writing binary file video. However, I am having a problem with reading in an entire file, of arbitrary size and structure into C/C++. The binary file has segments of data of a dynamic length that is specified in segment headers. I am trying to just dump the whole thing into a unsigned char array and work with it from within C/C++ on a Windows system. I haven't been able to find anything out there to help me with this.

Ответить
@prathmeshbatane8740
@prathmeshbatane8740 - 20.07.2022 20:22

Can u tell how to read. dat extension file plzz

Ответить
@themohmand
@themohmand - 16.06.2022 00:17

How would you write a value to a particular memory address in a binary file?

Ответить
@Skatechecker100
@Skatechecker100 - 13.06.2022 11:26

Hi, how can I read the leading zeros? For example, the 0`s before ff ff ff?

Ответить
@pietrarualfred9209
@pietrarualfred9209 - 27.04.2022 19:17

love your videos man...hope you will keep uploading on this platform

Ответить
@jeanvaljean8417
@jeanvaljean8417 - 17.04.2022 13:10

Great and clear explanation! You just saved my semester thank you very much

Ответить
@268snake
@268snake - 09.02.2022 16:56

Where can i get the code from any of your tutorials? Great video btw😀

Ответить
@retroenergy
@retroenergy - 13.06.2021 18:57

As always, saving my ass

Ответить
@tomtv-show3973
@tomtv-show3973 - 14.03.2021 11:57

how do you read multiple elements from a binary file without knowing how many are present? i'm guessing you'd read one element at a time in a loop but how do you stop?

Ответить
@randomguy4738
@randomguy4738 - 07.03.2021 21:08

Ok but how do you store more than one structure of data in a binary file?

Ответить
@pm4t
@pm4t - 08.02.2021 05:15

you teach better than my professor :D

Ответить
@arunu2002
@arunu2002 - 27.11.2020 08:04

Please help or guide on how to determine the buffer struct variables in reading unknown binary file.

Ответить
@randomstuffs5551
@randomstuffs5551 - 01.06.2020 21:19

In a binary file element can be integer numbers representing elements of a square matrix . And if yes its written as integer or hex code?

Ответить
@serialchiller5710
@serialchiller5710 - 27.04.2020 03:18

You have cool looking haircut :D

Ответить
@new-agetech5663
@new-agetech5663 - 03.04.2020 23:08

Your videos are gold! Subbed without hesitation💪👍

Ответить