fonic
fonic
Zephyrhills, Florida, United States
Boss Mode.
Boss Mode.
Sin conexión
Expositor de artwork destacado
Compile
Expositor de artwork destacado
Desktop
Hello World!
#include <windows.h>

LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp) {
if (msg == WM_DESTROY) {
PostQuitMessage(0);
} else if (msg == WM_PAINT) {
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hwnd, &ps);
TextOut(hdc, 50, 50, "Hello World!", 12);
EndPaint(hwnd, &ps);
} else {
return DefWindowProc(hwnd, msg, wp, lp);
}
return 0;
}

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
WNDCLASS wc = {0};
wc.lpfnWndProc = WndProc;
wc.hInstance = hInstance;
wc.lpszClassName = "HelloWorldClass";

RegisterClass(&wc);

HWND hwnd = CreateWindow("HelloWorldClass", "Hello World", WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, 300, 200,
NULL, NULL, hInstance, NULL);

ShowWindow(hwnd, nCmdShow);
UpdateWindow(hwnd);

MSG msg;
while (GetMessage(&msg, NULL, 0, 0)) {
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}
Actividad reciente
28 h registradas
usado por última vez el 23 JUN
5.2 h registradas
usado por última vez el 21 JUN
78 h registradas
usado por última vez el 20 JUN
Comentarios
BLOCKHEAD 7 MAY 2023 a las 6:05 p. m. 
Hey broham. good games of cs yesterday. check out Tuesday's Gone by Metallica for some wicked good music, cheers:csgoct::csgogun:
SkyDoesMinecraft 29 MAR 2023 a las 11:27 p. m. 
aluminum.
SKIWOP 18 DIC 2020 a las 8:55 p. m. 
typical xenophobic Americans.. You guys think u ruined my day with one CS game LOL, no snowflake is not that easy, yes I like Rick and Morty, Vaporwave and Im from Brazil and what? you are just bad people is very simple, good luck in life.
Janez 16 MAR 2020 a las 7:38 a. m. 
Nice "How to become a Pro Grifball Player" guide! The second (time) I saw the second (order) picture, life became meaningful again. Thank you!