We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>


Looking For Something at vustudents.ning.com? Click Here to Search

CS609 Assignment No 03 Spring 2019 Solution & Discussion

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 2085

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Replies to This Discussion

#include<bios>
#include<dos>
FILE *fp;
unsigned char buf[1024];
unsigned char st[60];
unsigned char headno[10];
unsigned char secno[10];
unsigned char trackno[10];
void main (void) {
int i ;
for (i=0;i<1024;i++)
buf[i]=0;
gets(st);
fp=fopen(st,"wb");
printf("Head ");
gets(headno);
puts (headno);
printf("\nsector ");
gets(secno);
puts(secno);
printf("\ntrack ");
gets(trackno);
puts(trackno);
i = biosdisk(2,0x80,atoi(headno), atoi(trackno),atoi(secno),2,buf) ;
if (*(((char *)(&i))+1)==0) {
fwrite(successfully file read);

}
else printf("Cannot Read Error# = %x",i);
}

Image may contain: text

Image may contain: text

RSS

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service