Setting environment for using Microsoft Visual C++ 2003 Toolkit.
(If you have another version of Visual Studio or Visual C++ installed and wish
to use its tools from the command line, run vcvars32.bat for that version.)
Thank you for choosing the Visual C++ Toolkit 2003! Get started quickly by
building the code samples included in the "Samples" directory. Each sample
includes a short whitepaper discussing the Visual C++ features, and a batch
file for building the code.
Type "cl /?" for brief documentation on compiler options.
Visit
http://msdn.microsoft.com/visualc/using/documentation/default.aspx for
complete compiler documentation.
C:\Program Files\Microsoft Visual C++ Toolkit 2003>cd %userprofile%
C:\Documents and Settings\Owner>cd Desktop
C:\Documents and Settings\Owner\Desktop>cl pro3.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
pro3.cpp
C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\ostream(574) : warnin
g C4530: C++ exception handler used, but unwind semantics are not enabled. Speci
fy /EHsc
C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\istream(828) : warnin
g C4530: C++ exception handler used, but unwind semantics are not enabled. Speci
fy /EHsc
C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\istream(1064) : warni
ng C4530: C++ exception handler used, but unwind semantics are not enabled. Spec
ify /EHsc
pro3.cpp(9) : warning C4518: 'int ' : storage-class or type specifier(s) unexpec
ted here; ignored
pro3.cpp(9) : error C2146: syntax error : missing ';' before identifier 'readInp
ut'
pro3.cpp(14) : warning C4518: 'double ' : storage-class or type specifier(s) une
xpected here; ignored
pro3.cpp(14) : error C2146: syntax error : missing ';' before identifier 'withdr
aw'
pro3.cpp(19) : warning C4518: 'double ' : storage-class or type specifier(s) une
xpected here; ignored
pro3.cpp(19) : error C2146: syntax error : missing ';' before identifier 'deposi
t'
pro3.cpp(24) : warning C4518: 'int ' : storage-class or type specifier(s) unexpe
cted here; ignored
pro3.cpp(24) : error C2146: syntax error : missing ';' before identifier 'main'
pro3.cpp(33) : error C2660: 'readInput' : function does not take 0 arguments
pro3.cpp(38) : error C2660: 'withdraw' : function does not take 1 arguments
pro3.cpp(46) : error C2660: 'withdraw' : function does not take 1 arguments
pro3.cpp(81) : error C2556: 'double withdraw(double,double)' : overloaded functi
on differs only by return type from 'int withdraw(double,double)'
pro3.cpp(14) : see declaration of 'withdraw'
pro3.cpp(81) : error C2371: 'withdraw' : redefinition; different basic types
pro3.cpp(14) : see declaration of 'withdraw'
pro3.cpp(102) : error C2556: 'double deposit(double,double)' : overloaded functi
on differs only by return type from 'int deposit(double,double)'
pro3.cpp(19) : see declaration of 'deposit'
pro3.cpp(102) : error C2371: 'deposit' : redefinition; different basic types
pro3.cpp(19) : see declaration of 'deposit'
C:\Documents and Settings\Owner\Desktop>
lol here is all the error messages it says after comiling. Im using Windows Visual Basic Command Propmt btw