Programming, for all ages and all languages.
-
aditigupta
- Posts: 5
- Joined: Wed Jul 11, 2007 11:15 pm
Post
by aditigupta »
hi
actually i want to read a sector from a floppy and then write it to a file in the floppy only.....
i m reading the sector with the help of absread and writing it to a file using this loop........
for (i=0; i<512; i++)
{
ch_out = buf;
fprintf(fnew1,"%c",ch_out);
}
but the format in which i m getting the data is very wierd.........its not the actual data........
so help me please
-
B.E
- Member
- Posts: 275
- Joined: Sat Oct 21, 2006 5:29 pm
- Location: Brisbane Australia
-
Contact:
Post
by B.E »
Can you give us a bit more information, like more code (i.e how your reading the data from the file).
Microsoft: "let everyone run after us. We'll just INNOV~1"
-
aditigupta
- Posts: 5
- Joined: Wed Jul 11, 2007 11:15 pm
Post
by aditigupta »
this is the code.......
see if u can help
-
Attachments
-
- READDAT4.CPP
- (1.61 KiB) Downloaded 100 times
-
Ninjarider
- Member
- Posts: 62
- Joined: Fri Jun 29, 2007 8:36 pm
Post
by Ninjarider »
what os are we working with.
if you could also post your code instead of attaching it. i am not able to download stuff to this box.