We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
Software (s) Used to develop Assignment
- Turbo C++
- MS Word
- MS Paint
Assignment Submission Instructions
MS Word file is submitted on LMS.
Marks = [7 + 3 + 5]
Task 1: Write a C program that determine the FAT version running on your system.
Task 2: Attach screen shot of output window produced in result of Task 1.
Task 3: Write a short note on DPB. Shortly explain working of BPB_SecPerTrk, BPB_NumHeads, BS_VolLab in respect of FAT32 BPB structure.
Tags:
+ How to Follow the New Added Discussions at Your Mail Address?
+ How to Join Subject Study Groups & Get Helping Material? + How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators? + VU Students Reserves The Right to Delete Your Profile, If?.
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)virus plz apna code share krain mere pass output main volum name aur file system main kuch b show nhi kr rha...
Right code
#include<bios.h>
#include<dos.h>
#include<stdio.h>
#include<conio.h>
struct BPB
{
unsigned int bytespersec;
unsigned char secperclust;
unsigned int reservedsecs;
unsigned char fats;
unsigned int rootdirents;
unsigned int smallsecs;
unsigned char media;
unsigned int fatsecs;
unsigned int secspertrack;
unsigned int heads;
unsigned long int hiddensecs;
unsigned long int hugesecs;
unsigned char driveno;
unsigned char reserved;
unsigned char bootsignature;
unsigned long int volumeid;
unsigned char volumelabel[11];
unsigned char filesystem[8];
};
struct bootblock
{
unsigned char jumpinstruction[3];
unsigned char osname[8];
struct BPB bpb;
unsigned char code[448];
};
void nputs( char *p, int n)
{
int i ;
for (i =0;i<n;i++);
putch(p[i]);
}
void main( void)
{
struct bootblock bb;
clrscr();
absread(0,1,0,&bb);
printf("jump instruction = %x\n" , bb.jumpinstruction);
printf("OS = ");
nputs (bb.osname,8);
puts("\n");
printf("No of bytes per sector = %d \nNo of sectors per cluster = %d\n No of reserved sectors = %d" , bb.bpb.bytespersec, bb.bpb.secperclust, bb.bpb.reservedsecs);
printf("No of FATs = %d\nNo of Root Directory entry = %d \nNo of Small sectors = %d \nMedia descriptor = %xH \nFAT sectors = %dSectors per track = %d \nNo of Heads = %d \nNo of hidden sectors = %ld \nNo. of huge sectors = %ld \nDrive number = %x \nReserved = %xH \nBoot Signature = %xH \nVolume ID = %lx \n" , bb.bpb.fats, bb.bpb.rootdirents, bb.bpb.smallsecs, bb.bpb.media, bb.bpb.fatsecs, bb.bpb.secspertrack, bb.bpb.heads, bb.bpb.hiddensecs, bb.bpb.hugesecs, bb.bpb.driveno, bb.bpb.reserved, bb.bpb.bootsignature,bb.bpb.volumeid);
puts (" Volume Name =");
nputs (bb.bpb.volumelabel,11);
puts ("\n");
puts (" File system =");
nputs (bb.bpb.filesystem,8);
puts("\n");
getch();
}
Error 45 call to undefined function 'absread' in function main
a raha hai dearsave c main karna hai ya cpp main
error a raha hai help me undefined function absread in main
error a raha hai help me undefined function absread in main
© 2019 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
VU Students reserves the right to delete profile, which does not show any Activity at site nor has not activity more than 01 month.
We are user-generated contents site. All product, videos, pictures & others contents on vustudents.ning.com don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com or Contact us at contact Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post