Hope this helps.
Yes, you can.
1. Insert your exe file that is made with c++ to your html code in <a href="cppfile.exe">
And you will have an <a> tag and after clicking it will download your cppfile.exe
2. The second way is to ofstream html tags from c++ file.