[Solved] Why the C++ code couldn’t display bitmap?(code from textbook) [closed]
Running your code, put aside the code logic first, just to show the BMP image, you did not add the correct image path. You can try to add the absolute path of the picture. Like this: DrawBitmap(“C:\\Users\\strives\\source\\C.bmp”,x,y); //This is my picture path. Please enter your picture path correctly. Updated: I retested the code with MinGW, … Read more