• Advertisement


This topic is now archived and is closed to further replies.

Argl, command line compiler - HELP!

This topic is 6457 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have downloaded the Borland C++ command line compiler and now attempt to learn the basics of Win32/C programming. I downloaded a C-course, but when I try to compile the example program I get a "declaration syntax error" in line 6. Can anyone help? here's the listing:
#include <windows.h>

WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
	MessageBox (NULL, "Hello, Windows!", "Hello", MB_OK);
	return 0;
I have never worked with command line compilers before, maybe there's something wrong with it? Edited by - Boneman on 7/18/00 1:53:08 AM

Share this post

Link to post
Share on other sites

  • Advertisement