Sometimes it is desirable to embed resource files in c or c++ programs. There are many ways to go about it but in most cases you must convert the files with external tools or scripts. Using external tools For image files, image-magick can be used: $ imagick input.png output.h Another common tool that can convert all types of files is xxd. $ xxd -i input.whatever output.h While the above methods are perfectly valid, some extra dependencies are added to the build process. Using the preprocessor...