In console programming, is there anyway to include a file like a .wav with the .exe, like you can do with windows resources?
In console programming, is there anyway to include a file like a .wav with the .exe, like you can do with windows resources?
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.