I have 2 questions. 1 - I did succeed to see the message with replacing red by white. But I can't replace the red by white ? what I am doing wrong please ?
// read RGB triple from infile fread(&triple, sizeof(RGBTRIPLE), 1, inptr); //switch red to white background if (triple.rgbtRed == 0xff) triple.rgbtRed = 0xffffff; if (triple.rgbtBlue == 0xff) triple.rgbtBlue = 0xffffff; if (triple.rgbtGreen == 0xff) triple.rgbtGreen = 0xffffff;
2- The final message is written is red on white. Please, can u explain me if in the code I changed the red to an other color for each RGB, how come the message appears in red ? tks