title: alutCreateBufferHelloWorld () in openal
body: <p>i need your help again in programing the openal</p>
  
  <p>i am new in programing in general >>and start to learn openal by vc++ 6</p>
  
  <p>and i am learning it from the doc that attachment with sdk1.1</p>
  
  <p>and have this program</p>
  
  <pre><code>#include &lt;conio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;al.h&gt;
  #include &lt;alc.h&gt;
  #include &lt;alut.h&gt;
  #pragma comment(lib, "openal32.lib")
  #pragma comment(lib, "alut.lib")
  
  
   ALCdevice *alcOpenDevice(ALCdevice *device);
  
  
   ALCenum alcGetError( ALCdevice *device );
  
  
  
   ALuint buffer ;
  ALuint source;
  
  // Position of the source sound.
  ALfloat SourcePos[] = { 0.0, 0.0, 0.0 };
  
  // Velocity of the source sound.
  ALfloat SourceVel[] = { 0.0, 0.0, 0.0 };
  
  
  // Position of the Listener.
  ALfloat ListenerPos[] = { 0.0, 0.0, 0.0 };
  
  // Velocity of the Listener.
  ALfloat ListenerVel[] = { 0.0, 0.0, 0.0 };
  
  // Orientation of the Listener. (first 3 elements are "at", second 3 are "up")
  // Also note that these should be units of '1'.
  ALfloat ListenerOri[] = { 0.0, 0.0, -1.0,  0.0, 1.0, 0.0 };
  
  
  
  int  main()
  {
  
  
  
  
  alGenSources(1,&amp;source);
  
  
  
  
  
  
  
  
   alSourcei (source, AL_BUFFER,  alutCreateBufferHelloWorld ());  
  
      alSourcef (source, AL_PITCH,    10.0      );
      alSourcef (source, AL_GAIN,     10.0      );
      //alSourcefv(source, AL_POSITION, SourcePos);
      //alSourcefv(source, AL_VELOCITY, SourceVel);
  //  alSourcei (source, AL_LOOPING,  loop     );
  
  
  alSourcePlay(source);
  
  
   alDeleteSources(1, &amp;source);
  return 0;
  
  };
  </code></pre>
  
  <p>and i have an error</p>
  
  <p>C:\Users\Toshiba\Desktop\Graduation Project\OpenAL\open AL test\EX\mi\ãËÇá\7\9\Cpp9.cpp(55) : error C2065: 'alutCreateBufferHelloWorld' : undeclared identifier
  Error executing cl.exe.</p>
  
  <p>and i dont konw what is the problem</p>
  
  <p>thank alote</p>