title: After finishing programming a game, how to bind the assets in the executable and package it so that it can be distributed to others?
body: <p>I programmed a game in c++ using the code::blocks ide with minGW compiler which runs fine from within the compiler. Now I need to package the game so that I can distribute it. After googling I found out that the executable is made in the debug/release folder of the project. After building the game using the compiler in release mode I can find the executable in the "release" folder of my project. But when I run the executable, it is not able to load any assets (like images) and terminates immediately. How can I bind the assets with the executable ? </p>