I am at a lvl between beginner and intermeddiate with C++, and I can't figure out how to play a wav sound from a C++ program... I search it on google and all the code I look at doesn't make any sense to me. Can someone plz help me to understand how to play a wav file from a directory from a C++ console application? By the way im more used to using int main() instead of int void() or whatever. Thanks!

Do a google search on PCM wave format header information, then create a struct/class with all the neccessary members that the header contains, plus a dynamic array (vector perhaps) of actual raw wav data. You will then need to find an appropriate library/dll for interpreting the data and sending it to the digital to analog sound converter, and then to the sound bus. It's quite a bit more complex a task then it would seem at first glance.