当然可以设计出对话框,包括你所用的windows本身都是用C语言设计出来的,几乎所有的大型软件比如 photoshop, 3dmax,各种数据库系统,所有的大型游戏全是c/c++写的
下面这段代码就是用图形方式显示hello world:
#include <windows.h>
int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
{
MessageBoxW(0,(LPCWSTR)L"Hello World!!!",(LPCWSTR)L"Msg",MB_OK);
return 0;
}
C语言:通用程序设计语言