I want to display the image on any computer that opens the program .. But the software shows the picture only that the image and the software are in the same place (I want the i
One way is to write a program that converts the image to a string of the form std::vector
list each byte. Then save that string in a file.
Then #include
that file into your program and read the image data from the image
variable.
This way the image will be embedded in your executable by the compiler.