Не запускается Hello world в MessageBox - C (СИ)
Формулировка задачи:
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
int main(int argc, char *argv[])
{
//puts("Hello world!");
//printf("Hello world!\n");
MessageBox (0, "Hello, World!","Message", MB_OK);
return 0;
}Решение задачи: «Не запускается Hello world в MessageBox»
textual
Листинг программы
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <tchar.h>
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow)
{
MessageBox(NULL, TEXT("Наблюдается хакерская активность!"),TEXT("!"), MB_OK);
return 0;
}