In console programming, is there anyway to include a file like a .wav with the .exe, like you can do with windows resources?
This is a discussion on Sounds question within the C++ Programming forums, part of the General Programming Boards category; In console programming, is there anyway to include a file like a .wav with the .exe, like you can do ...
In console programming, is there anyway to include a file like a .wav with the .exe, like you can do with windows resources?
Please direct all complaints regarding this post to the nearest brick wallHave a nice day.
Learn the algorithm for a wav file, include it in an array, then write it to a file during program execution. From here, you can play the wav and then delete it at the end of the program. That's the best way I know of.