Jump to content
  • Advertisement


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


Argl, command line compiler - HELP!

This topic is 6671 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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!