I'm having some troubles with this "simple" program that im trying to build.
My goal is to create a C program which executes an mp3 sound file saying "Hello" and runs at Windows startup.
#include<stdio.h>
main(int argc, char *argv[]){
FILE *fp;
char s[100];
int i;
if((fp=fopen("Hello.mp3","rb"))==NULL) //Open file and read on binary mode
{
printf("Could not open the file\n");
exit(1);
}
fclose(fp);
}
I think that to interpret the MP3 encoded data i must use an library but i realy need an help.
Best regards,
Ricardo