123
while((scanline_bytes + padding_bytes) % 4 != 0) padding_bytes++; cout << "Each scanline has " << padding_bytes << " padding bytes at the end" << endl;