How to create file of reqd size
Yes it's possible to create a file of required size without writing a single word in it.
Does that sound interesting?Let's do this.First of go the start-->run-->cmdNow go to the C prompt.Let's us suppose I want of create a file of 967 Kb Type the following as it is c:\> debug bigfile.dat \\ it will give u a error message o file not found. do not worry about that.
- rcx cx 0000: 4240- rbx ex 0000: 000F // it is zero- w
writing file f4240 bytes- q c:\> this wil creat the file of required size.// now I will ask few question to uFirst what is 4240 stand for.and why I have add 000F .and I will soon reply u in the form of a lesson
-
-
- Post Body
-
this is interesting – however, a bit unreadable for those who are not “into” computers
i would suggest that you structure it a little differently and it would be great if you have screenshots
cheers!
avinash
-
- Quote
- Posted 4 months ago.
-
-
- Post Body
-
-
- Quote
- Posted 3 months ago.
-
-
- Post Body
-
sir this is really a fantastic work….and it really works, first of all thanks for such a rare thing…..by using this coding i created a file, as u wrote, is of 976 kb.
now thing i wanna ask, what will be the change in coding if i want to create a file of any desired size.let us say file of size 1000 kb…...
regards
hardeep.
-
- Quote
- Posted 2 months ago.
Page Author
- Avatar

- Name
- handa
Information
- 295 Views
-
Ratings
Likes
1
Negative
0
Most Recent Related Content
- Presentation
-
- Avatar

- Title
- C programming (From Basics to Advanced Concepts)
- Description
- Friends, this presentation of 50 slides will help you to quickly revise right...
- Author
Sureshbala
- Lesson
-
- Avatar

- Title
- Alan Turing's Contribution to Scientific Development
- Body
-
Alan Turing
Alan Mathison Turing (23 June,1912 – 7 June, 1954) was an Engl...
- Author
MayMay
- Lesson
-
- Avatar

- Title
- 100+ C programs for Job Interviews
- Body
- Friends, in this page you will find around 112 C programs along with answers ...
- Author
Sureshbala
- Lesson
-
- Avatar

- Title
- Difference between c and c++
- Body
- C does not have any classes or objects. It is procedure and function driven. ...
- Author
Sureshbala
- Presentation
-
- Avatar

- Title
- How To Succed...
- Description
- Hi, this is a very nice presentation and the credit goes to the original auth...
- Author
Sureshbala
- Lesson
-
- Avatar

- Title
- Union, Typedef, Enums
- Body
- By now, you already know what is an array, what is a structure, and how to us...
- Author
zainvi_sf
- Lesson
-
- Avatar

- Title
- Functions - Basic Concept
- Body
-
Today, we will see yet another concept present in any programming
language. N...
- Author
zainvi_sf
- Lesson
-
- Avatar

- Title
- More On Functions
- Body
-
Inline Functions
Functions with small code can be declared as inline.Where...
- Author
zainvi_sf
This work is public domain.