I am new to C++ and learning from a book with uses EzWindows. I am having trouble compiling the programs which use EzWindows. I need to link a file "ezwinbc502.lib" in with my .cpp file and I am not sure how to do it. I have looked all over and tried a million things and can't seem to figure it out. There are many great places which tell you how to set up project files in visual IDE's, but nothing out there for doing it on the command line. Do I need to run ILink32 by itself before compiling? Do I run it after compiling? Do I need to use it at all?

I think that I just need the proper switch when I compile, but cannot figure it out. Any help greatly appreciated.