I have a big project and a part of it is to convolute two wav files. The problem is that I have no idea how to do it. I don't know how to open the two wav files in my project and store the result into a third file. If there is someone willing to help I would be greatful. Thanks in advance.
Using ffmpeg is like using a sledgehammer on a fly :D
Essentially, a non-compressed wav file is just some header information, and then a contiguous array of each time sample (one per each side if stereo).
You can write your own PCM WAV file file loader, but you need to understand how to load/write binary files.
I've done this in the past; it's a good learning experience. However, if you do just want it to work, I did a search and found what appears to be a simple wav reading/writing library. https://github.com/adamstark/AudioFile
It's header-only, so you don't need to worry about linking or compiling a library.
The readme has examples.