In fread, the type of the function is the typedef size_t.
I want to rewrite a program that read binary data of mp3s.
int main(){
printf("Enter name of file-> ");
char name;
fflush(stdout);
FILE *fp;
fp=fopen(name," rb");
/*Here's where fread should go but k&r p 248 didn't help much */
fclose(fp);}
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
I want to rewrite a program that read binary data of mp3s.
int main(){
printf("Enter name of file-> ");
char name;
fflush(stdout);
FILE *fp;
fp=fopen(name," rb");
/*Here's where fread should go but k&r p 248 didn't help much */
fclose(fp);}
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Comment