Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Possible compiler choices in VC++?? 1

Status
Not open for further replies.

Tigerman

Programmer
May 15, 2001
18
US
I read somewhere that Visual C++ offers 2 compiliers. One of which is the visual compiler and another which is a command line compiler similar to Borland. If this is true, how might one go about accessing the command line compiler. I'm new to VC++ (always used VB up to this point), so I'm needing some guidance here. Many thanks.

Tigerman
 
The compiler that the Visual C++ IDE uses is actually the command-line compiler cl.exe. What the Visual C++ IDE does is pass your files(c++, resource, etc.) and your options to the command-line compilers (c++, resource), linker and other tools. The output from these compilers/tools are redirected to your Visual C++ Output pane window. The Output Window is where you see DOS-like output from the compilers/tools.
In short, the "visual" in Visual C++ is the IDE: the text editor, debugger, the resource editors, the classwizard, the appwizard,the project-files/class/resource(workspace) trees, ... , and the output window.
The commandline compiler (cl.exe) and other commandline tools (link.exe,nmake.exe,rc.exe,etc.) are found in the BIN directory of your Visual C++ installation.
I hope that answers your question. Have fun programming in C/C++. :)
 
Thanks, Strings. I appreciate the info! It was very helpful.
 
Hi , Tigerman!
I'm glad it helped!
I had the same dilemma, too, before somebody pointed that out.
Have fun programming!

Strings
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top