It's very interesting but Im trying to understand How To Make your own binary file format With 3D mesh in It I mean something like ".4od" or ".XSBF" etc...
I haven't tried this yet but, does this mean that I can create a copy of an executable file (that still executes) by reading it in binary format and creating another file in binary format? I'm just trying to understand what it means to read a binary.. is that like reading the hexcode/hexdump? sorta?
Is there some way to check whether the file is already there before opening it for writing, in order to avoid overwriting a pre-existing file by mistake?
I like your tutorial, but the file that was created can be viewed with notepad when I ran it. It was not unreadable like a normal binary file. Why is it readable with a text editor? Good tutorials.
Hey sorry for late reply... your binary file is readable in text editor because the environment where your application runs, treats both text and binary file in the same way.Checkout this linkwww.cplusplus.com/reference/cstdio/fopen/ In the bottom it states thatDepending on the environment where the application runs, some special character conversion may occur in input/output operations in text mode to adapt them to a system-specific text file format. Although on some environments no conversions occur and both text files and binary files are treated the same way, using the appropriate mode improves portability.
Dude, if we open the .bin file it is showing the raw text actually it should show some unknown symbols txts etc.. then wat is the difference between text and binary file? only extension?
+LearningLad ... Superb Job.. I saw your each and every tutorial of Data File Handling.. U made the concepts so easy to understand..!
+Onkar Patil
glad to hear that.
Thank you :)
Very great work sir! Please keep uploading videos covering all topics of class 12 cbse
Thank you.
currently we dont have any plans on making tutorials on cbse class 12.
It's very interesting but Im trying to understand How To Make your own binary file format With 3D mesh in It I mean something like ".4od" or ".XSBF" etc...
Use the same but look up the file format for those extension it must mostly contain headers or footers in bin format
I haven't tried this yet but, does this mean that I can create a copy of an executable file (that still executes) by reading it in binary format and creating another file in binary format?
I'm just trying to understand what it means to read a binary.. is that like reading the hexcode/hexdump? sorta?
Is there some way to check whether the file is already there before opening it for writing, in order to avoid overwriting a pre-existing file by mistake?
IF EXIST "filename"
@@bob-ny6kn I was asking about standard C++, not about… whatever it is that you wrote :q
I like your tutorial, but the file that was created can be viewed with notepad when I ran it.
It was not unreadable like a normal binary file.
Why is it readable with a text editor?
Good tutorials.
Hey sorry for late reply... your binary file is readable in text editor because the environment where your application runs, treats both text and binary file in the same way.Checkout this linkwww.cplusplus.com/reference/cstdio/fopen/ In the bottom it states thatDepending on the environment where the application runs, some special character
conversion may occur in input/output operations in text mode to adapt them to a
system-specific text file format. Although on some environments no conversions
occur and both text files and binary files are treated the same way, using the
appropriate mode improves portability.
does strlen count spaces also?
good video
what is the line file.put(input[counter]) ; for ?
Can you make a tutorial on stdin,stdout,stderr
why do u have to reset the position of the pointer with file.seekg(0)
when i open the file i get an error line too long was truncated. What does this mean
should the
Hey, I was wondering the same thing. Did you ever figure this out? I tried making the program with just
@@ifUthinkits2loud maybe too late but I think it should be < instead of
Dude, if we open the .bin file it is showing the raw text actually it should show some unknown symbols txts etc.. then wat is the difference between text and binary file? only extension?
Mixing C and C++ is never a good idea.
thanks your video save me all the time I wanted to ask if you can provide us with your e-mail if we want to ask something about code
Ask Your doubts by posting comments. if we are not available then other viewers can answer :)
These comments are mostly 7-8 years old, I hope they are earning 25 lpa😅
Мне все так понятно!
haack
1:39 Connnvurt! xD