To compile a single file, use the icc command.
To compile the file anotebw6.cpp without linking to create the object file anotebw6.obj, enter:
   icc /Gm /Gd /Fo"anotebw6.obj" /C anotebw6.cpp
[To get a command line session, double-click the Command-line Session icon in the VisualAge for C++ folder. Change directories to samples\ioc\hello6.]