The simplest Hello,world applation under windows

Discussion on data structures & algorithms, programming languages, computer science and more
doctorlai
Site Admin
Posts:44
Joined:Tue Jan 15, 2013 3:16 pm
The simplest Hello,world applation under windows

Post by doctorlai » Thu Mar 20, 2014 9:55 am

Compiled successfully under g++

Code: Select all

#include <windows.h>

int main() {
    MessageBoxA(0, LPCSTR("Coding For Speed"), LPCSTR(""), 0);
    return 0;
}


that outputs a dialog and it is indeed a win32 PE application.

Post Reply