|
|
|
|
1>------ Build started: Project: MannonDavisCone, Configuration: Debug Win32 ------ 1>Compiling... 1>MannonDavisConeCode.cpp 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(8) : fatal error C1083: Cannot open include file: 'ionstream': No such file or directory 1>Build log was saved at "file://c:\Users\MANNON\Documents\Visual Studio 2008\Projects\MannonDavisCone\MannonDavisCone\Debug\BuildLog.htm" 1>MannonDavisCone - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
|
|
1>------ Build started: Project: MannonDavisCone, Configuration: Debug Win32 ------ 1>Compiling... 1>MannonDavisConeCode.cpp 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(16) : warning C4305: 'initializing' : truncation from 'double' to 'const float' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(17) : error C2513: 'float' : no variable declared before '=' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(18) : error C2065: 'r' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(18) : error C2144: syntax error : 'float' should be preceded by ';' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(18) : error C2513: 'float' : no variable declared before '=' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(19) : error C2065: 'h' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(19) : error C2144: syntax error : 'float' should be preceded by ';' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(19) : error C2513: 'float' : no variable declared before '=' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(23) : error C2065: 'v' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(23) : error C2146: syntax error : missing ';' before identifier 'cout' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(24) : error C2065: 'r' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(29) : error C2065: 'h' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(33) : error C2065: 'v' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(33) : error C2065: 'r' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(33) : error C2065: 'r' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(37) : error C2065: 'h' : undeclared identifier 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(37) : error C2146: syntax error : missing ';' before identifier 'cout' 1>c:\users\mannon\documents\visual studio 2008\projects\mannondaviscone\mannondaviscone\mannondavisconecode.cpp(37) : error C2065: 'v' : undeclared identifier 1>Build log was saved at "file://c:\Users\MANNON\Documents\Visual Studio 2008\Projects\MannonDavisCone\MannonDavisCone\Debug\BuildLog.htm" 1>MannonDavisCone - 17 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |
(1/3)
which is exactly "integer value '1' divided by integer value '3'" which equals zero (three goes into one zero times).v = (1.0/3.0) * pi * (r*r) * h;
|
|