ahmed abdelwahab wrote:
> Hi all
>   I have a question
>   I use "visual studio 6 (c++)"
>   
get rid of it. it's ancient, and doesn't handle standard C++
vc++ 2005 express is free and does.

>   I want to read wave file in C and make a processing in it
>   I search alot in this field but all code Habe error
>   as:
>   #include "ALLOC.H"
> #include "DOS.H"
> #include "MEM.H"
> #include "CONIO.H"
> #include "STDIO.H"
>    
>   some of this referance make error like ALLOC.H and MEM.H
>    
>   and another code want 
>   #include<iostream.h>
> #include<fstream.h>
> #include<string>
> #include<conio.h>
> #include<file.h>
>   void main()
> {
>  FILE *fp; 
>   
if you're writing C++ why are you using FILE ? .... I'm not gonna chase 
possible problems with an acient language compiled on an ancient compiler
>     fp = fopen("sound.wav","rb); 
>     if(fp) 
>  { 
>        BYTE id[4]; //four bytes to hold 'RIFF' 
>        DWORD size; //32 bit value to hold file size 
>        fread(id,sizeof(BYTE),4,fp); //read in first four bytes 
>         if (!strcmp(id,"RIFF")) 
>   { //we had 'RIFF' let's continue 
>           fread(size,sizeof(DWORD),1,fp); 
>           //read in 32bit size value 
>   } 
>  }
> }
>   and the error in my computer is
>   file.h': No such file or directory
>   I dont know why this all error 
>   may be my setup this program
>   Can anyone help me to make speech processing
>   Thanks alot 
>
>        
> ---------------------------------
> Don't let your dream ride pass you by.    Make it a reality with Yahoo! 
> Autos. 
>
> [Non-text portions of this message have been removed]
>
>
>
> To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
> Yahoo! Groups Links
>
>
>
>
>   

Reply via email to