hi heather:
C:\down\temp>dir
Volume in drive C has no label.
Volume Serial Number is E491-9F6C
Directory of C:\down\temp
02/21/2013 12:52 PM <DIR> .
02/21/2013 12:52 PM <DIR> ..
02/21/2013 12:50 PM <DIR> main 5-Resources Icons, Dialogs and Menu
02/21/2013 01:21 PM <DIR> Wind Chill Program C++
0 File(s) 0 bytes
4 Dir(s) 111,687,221,248 bytes free
C:\down\temp>cd ,\wind chill program c++
The system cannot find the path specified.
C:\down\temp>cd .\wind chill program c++
C:\down\temp\Wind Chill Program C++>dir
Volume in drive C has no label.
Volume Serial Number is E491-9F6C
Directory of C:\down\temp\Wind Chill Program C++
02/21/2013 01:21 PM <DIR> .
02/21/2013 01:21 PM <DIR> ..
02/21/2013 01:21 PM 551 Build it.bat
02/21/2013 12:59 PM 552 buildit.bat
02/21/2013 12:52 PM 551 buildit.txt
02/21/2013 12:58 PM 552 builit.bar.txt
02/21/2013 01:21 PM 1,059 StdAfx.h
02/21/2013 01:21 PM 1,729 windchill.cpp
6 File(s) 4,994 bytes
2 Dir(s) 111,687,221,248 bytes free
C:\down\temp\Wind Chill Program C++>build it
'build' is not recognized as an internal or external command,
operable program or batch file.
C:\down\temp\Wind Chill Program C++>"build it"
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '/ML'
windchill.cpp
windchill.cpp(31) : warning C4310: cast truncates constant value
windchill.cpp(32) : warning C4310: cast truncates constant value
windchill.cpp(36) : warning C4310: cast truncates constant value
windchill.cpp(39) : warning C4244: '=' : conversion from 'double' to 'int', pos
ible loss of data
windchill.cpp(49) : warning C4244: '=' : conversion from 'double' to 'int', pos
ible loss of data
windchill.cpp(51) : warning C4310: cast truncates constant value
windchill.cpp(56) : warning C4996: 'getch': The POSIX name for this item is dep
ecated. Instead, use the ISO C++ conformant name: _getch. See online help for d
tails.
C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\conio.h(145) :
ee declaration of 'getch'
windchill.cpp(21) : warning C4100: 'argv' : unreferenced formal parameter
windchill.cpp(21) : warning C4100: 'argc' : unreferenced formal parameter
Press any key to continue . . .
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
Press any key to continue . . .
C:\down\temp\Wind Chill Program C++>dir
Volume in drive C has no label.
Volume Serial Number is E491-9F6C
Directory of C:\down\temp\Wind Chill Program C++
02/21/2013 01:27 PM <DIR> .
02/21/2013 01:27 PM <DIR> ..
02/21/2013 01:21 PM 551 Build it.bat
02/21/2013 12:59 PM 552 buildit.bat
02/21/2013 12:52 PM 551 buildit.txt
02/21/2013 12:58 PM 552 builit.bar.txt
02/21/2013 01:21 PM 1,059 StdAfx.h
02/21/2013 01:21 PM 1,729 windchill.cpp
02/21/2013 01:27 PM 162,816 windchill.exe
7 File(s) 167,810 bytes
2 Dir(s) 111,687,024,640 bytes free
C:\down\temp\Wind Chill Program C++>windchill
MPH Wind Chill Factor (Temperature +40°F to -40°F
V 40 35 30 25 20 15 10 5 0 -5 -10 -15 -20 -25 -30 -35 -40 °F
5 36 30 24 18 12 7 1 -4 -10 -16 -22 -28 -34 -39 -45 -51 -57 °F
10 33 27 21 15 8 2 -3 -9 -15 -22 -28 -34 -40 -46 -53 -59 -65 °F
15 31 25 19 12 6 0 -6 -12 -19 -25 -32 -38 -45 -51 -57 -64 -70 °F
20 30 23 17 10 4 -2 -8 -15 -21 -28 -35 -41 -48 -54 -61 -67 -74 °F
25 29 22 16 9 2 -4 -10 -17 -24 -30 -37 -44 -50 -57 -64 -70 -77 °F
30 28 21 14 8 1 -5 -12 -19 -25 -32 -39 -46 -53 -59 -66 -73 -80 °F
35 27 20 13 7 0 -6 -13 -20 -27 -34 -41 -48 -54 -61 -68 -75 -82 °F
40 26 19 13 6 0 -7 -14 -21 -28 -35 -42 -49 -56 -63 -70 -77 -84 °F
45 26 19 12 5 -1 -8 -15 -22 -29 -37 -44 -51 -58 -65 -72 -79 -86 °F
50 25 18 11 4 -2 -9 -16 -24 -31 -38 -45 -52 -59 -66 -73 -80 -87 °F
55 25 18 10 3 -3 -10 -17 -24 -32 -39 -46 -53 -60 -67 -75 -82 -89 °F
60 24 17 10 3 -4 -11 -18 -25 -33 -40 -47 -54 -61 -69 -76 -83 -90 °F
MPH
C:\down\temp\Wind Chill Program C++>
/code]
It works.
Do not put spaces in filnames because you
have to quote them i e
>"build it"
If you want Dos start vc and use tools command prompt
the tools is above vc click it and then click command prompt.
Regards herge