Tuesday, April 05, 2005

Compiling CPP with CL

I have three files, bstream.h, bstream.cpp and test8.cpp. Basically test8 uses the other two files. Here is the steps to compile:

cl -c bstream.cpp

This will create the bstrea.obj file

cl test8.cpp bstream.obj

This will compile and create a test8.exe file
Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?