Messagebox的对齐问题。
以下代码在Messagebox中的输出对齐状态为什么和预想的不一样?
希望对齐安装printf的方式。
大家说说该如何解决?
_______________________________________
#include <iostream>
#include<windows.h>
#include <stdlib.h>
#include <tchar.h>
#include <stdio.h>
#include <Winuser.h>
#define USAGE \
"\n -p1 display additional output" \
"\n -p2ffff run the application in offline mode" \
"\n -p3aa run the application from the system cache only"\
"\n -p3aafdafaaa run the application from the system cache only"\
"\n\n"
int _tmain(int argc, _TCHAR* argv[])
{
printf("title" " %s\n", USAGE);
MessageBox(NULL, USAGE, "title",MB_OK );
MessageBoxEx (NULL,USAGE, "title", MB_OK ,0);
return 0;
}