Compiling C source code that includes a main() function using Visual C++
Posted on 2002-03-19
OK I am asking this question because Im thick.
I have a C source code (compress.c file) and a header (*.h) file. The compress.c file has a main() function so its not a Windows application. Its actually a compression algorithm source code. I will probably run it by going to the command line and typing
Or something similar. So how do I create the compress.exe using Visual C++? I assume I go to File->New->Project or something like that but I really dont know.
Can someone familiar with the required steps help me out?