Examining Windows 1.0 Hello.c
virtuallyfun.com
Examining Windows 1.0 Hello.c
1–10 of 51 posts
Re: Examining Windows 1.0 Hello.c
#2Should that have been "125k line"? Not to get too pedantic, but the units seem needful for "behemoth".
Re: Examining Windows 1.0 Hello.c
#3> I was inspired to investigate the original HELLO.C for Windows 1.0, a 125 line behemoth that was talked about in hush tones. Should that have been "125k line"? Not to get too pedantic, but the units seem needful for "behemoth".
Re: Examining Windows 1.0 Hello.c
#4I wish desktop Linux had even a fraction of that level of backwards compatibility.
Re: Examining Windows 1.0 Hello.c
#5It's pretty impressive that binaries from Windows 1.0 still manage to run on Windows 10. I wish desktop Linux had even a fraction of that level of backwards compatibility.
Re: Examining Windows 1.0 Hello.c
#6> I was inspired to investigate the original HELLO.C for Windows 1.0, a 125 line behemoth that was talked about in hush tones. Should that have been "125k line"? Not to get too pedantic, but the units seem needful for "behemoth".
Edit: In the decades since nothing has changed in my mind. The messy Windows boilerplate code that made up the other 120 lines or so should have been refactored architecturally and hidden by a framework, API call, something, anything.
Re: Examining Windows 1.0 Hello.c
#7Re: Examining Windows 1.0 Hello.c
#8It's pretty impressive that binaries from Windows 1.0 still manage to run on Windows 10. I wish desktop Linux had even a fraction of that level of backwards compatibility.
Re: Examining Windows 1.0 Hello.c
#9> I was inspired to investigate the original HELLO.C for Windows 1.0, a 125 line behemoth that was talked about in hush tones. Should that have been "125k line"? Not to get too pedantic, but the units seem needful for "behemoth".
#include
int main(int argc, char *argv[]) {
int gogogo = 1;
SDL_Event event;
SDL_Init(SDL_INIT_EVERYTHING);
SDL_WM_SetCaption("Hello World! :D", NULL);
SDL_SetVideoMode(800, 600, 32, SDL_HWSURFACE);
while (gogogo) {
SDL_WaitEvent(&event);
if (event.type == SDL_QUIT)
gogogo = 0;
}
SDL_Quit();
return 0;
}https://www.badprog.com/c-sdl-simple-directmedia-layer-hello...
Re: Examining Windows 1.0 Hello.c
#10https://news.ycombinator.com/item?id=23237045
Could you please refer to the original article below and credit the original site it was published on: