Schwarzschild

I am trying to install the CAM graphics package available at http://www.math.ucla.edu/~anderson/CAMclass/CAMClass.html. I tried just dumping everything in my solution but that did work because I got linker errors. Could someone give me the exact steps I need to take to use this package (I am somewhat new to Visual C++) if that is not asking too much


Re: Visual C++ General CAM graphics

Simple Samples

You are more likely to get help if you have specific questions, especially for students. Look in the documentation for "What to do with the .zip files" in the "Source" menu item. Try to read it. Do you have a specific question about that






Re: Visual C++ General CAM graphics

Schwarzschild

The directions say "If you are using a PC then you should create a project to generate a static library (.lib file)".

All I know how to do is create header files, a .cpp file with the main() function, build it, and then run it. How do I make a static library with the files indicated in they say are in the unix makefile




Re: Visual C++ General CAM graphics

Simple Samples

Are you familiar with creation of projects in Visual Studio There is a template for Win32 static libraries. See the Visual C++ Guided Tour to become familiar with VC. I don't have VC 2005 conveniently available to me at the moment so I cannot be totally specific.






Re: Visual C++ General CAM graphics

Schwarzschild

Thanks. Those tutorials were helpful. One thing I cannot figure out, however, is where VC++ puts the executable files. I cannot find any executables in the project folder.



Re: Visual C++ General CAM graphics

Simple Samples

Are you sure the build is successful If not then of course you won't find an executable.

There is probably a Debug subdirectory; if the executable is not there then there is probably no executable.






Re: Visual C++ General CAM graphics

Schwarzschild

The build was succesful and I can run the executable in the VC++ IDE with the "Start" button. I just want to run it outside the IDE.

Actually in the Debug folder for that projec there are .exe.embedded.manifest and .exe.intermediate.manifest files, but those do not execute from the Windows command line.




Re: Visual C++ General CAM graphics

Bite Qiu - MSFT

Schwarzschild wrote:
The build was succesful and I can run the executable in the VC++ IDE with the "Start" button. I just want to run it outside the IDE.

Actually in the Debug folder for that projec there are .exe.embedded.manifest and .exe.intermediate.manifest files, but those do not execute from the Windows command line.

By default it is in solution level, look to the debug folder in the same level with your solution file (*.sln), usually there are one level upper from project folder. As an alternative, you can modify the output path to your known folder via: Project | Properties | Configuration Properties | Linker | General | Output File -> c:\whatever.exe (or any other places you want it to be)






Re: Visual C++ General CAM graphics

Schwarzschild

I see. Thanks.

Now, how come when I put all the camgraph files in my camgraph project (i.e. in solution_name/camgraph/) of the solution I am working in outside of MVS, I cannot see them in the solution explorer

Does that make sense




Re: Visual C++ General CAM graphics

Bite Qiu - MSFT

Schwarzschild wrote:
I see. Thanks.

Now, how come when I put all the camgraph files in my camgraph project (i.e. in solution_name/camgraph/) of the solution I am working in outside of MVS, I cannot see them in the solution explorer

Does that make sense

Put the fifles in project folder is not sufficient(actually, not required), you can right click on corresponding filter(e.g. Source Files) in solution explorer and choose Add->Existing Items... to add these file in your project.






Re: Visual C++ General CAM graphics

Schwarzschild

I see. Thanks. Now I did up to the

"To add a class to the static library"

section in the tutorial, and instead I added the all of the camgraph files. When I try to build I get these errors:

1>------ Build started: Project: camgraph, Configuration: Debug Win32 ------
1>Compiling...
1>camgraph.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(7) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>camgraphexit.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphexit.cpp(18) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>CAMgraphicsProcess.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(9) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>CAMmetacodeDriver.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\cammetacodedriver.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>CAMpostScriptDriver.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\campostscriptdriver.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>gpsmp1.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp1.cpp(13) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>gpsmp2.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp2.cpp(15) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>gpsmp3.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp3.cpp(14) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>gpsmp4.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp4.cpp(14) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>gpsmp5.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp5.cpp(14) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>uc2dgrph.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uc2dgrph.cpp(14) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>uccontr.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uccontr.cpp(13) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>ucdrv_ps.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdrv_ps.h(22) : fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory
1>ucgraph.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucgraph.cpp(16) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>ucplot.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(14) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>ucsurfac.cpp
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated
1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'
1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucsurfac.cpp(18) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Generating Code...
1>Build log was saved at "file://c:\Documents and Settings\MyName\My Documents\Visual Studio 2005\Projects\PHYS245\camgraph\Debug\BuildLog.htm"
1>camgraph - 16 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========






Re: Visual C++ General CAM graphics

Bite Qiu - MSFT

Use

Code Snippet
#include <iostream>

Instead of

Code Snippet
#include <iostream.h>






Re: Visual C++ General CAM graphics

Schwarzschild

How do I do a global replace of all iostream.h's in the entire project




Re: Visual C++ General CAM graphics

Bite Qiu - MSFT

Schwarzschild wrote:
How do I do a global replace of all iostream.h's in the entire project

Edit | Find and Replace | Replace in Files (Ctrl + Shift + H), fill in the vacancy with: Find What -> <iostream.h>, Replace With-> <iostream>, Look in->Current Project, then click "Replace All".






Re: Visual C++ General CAM graphics

Schwarzschild

After I did the global replace I think it no longer finds the iostream header:

1>------ Build started: Project: camgraph, Configuration: Debug Win32 ------

1>Compiling...

1>camgraph.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2143: syntax error : missing ';' before '&'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2433: 'ostream' : 'friend' not permitted on data declarations

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2061: syntax error : identifier 'ostream'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2805: binary 'operator <<' has too few parameters

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdrv_ps.h(22) : fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory

1>camgraphexit.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphexit.cpp(18) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory

1>CAMgraphicsProcess.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(293) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(308) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(323) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(335) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(347) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(359) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(372) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(384) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraphicsprocess.cpp(802) : warning C4267: '=' : conversion from 'size_t' to 'long', possible loss of data

1>CAMmetacodeDriver.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\cammetacodedriver.h(15) : fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory

1>CAMpostScriptDriver.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2143: syntax error : missing ';' before '&'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2433: 'ostream' : 'friend' not permitted on data declarations

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2061: syntax error : identifier 'ostream'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\camgraph.h(68) : error C2805: binary 'operator <<' has too few parameters

1>gpsmp1.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp1.cpp(54) : error C2065: 'cout' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp1.cpp(54) : error C2065: 'endl' : undeclared identifier

1>gpsmp2.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp2.cpp(92) : error C2065: 'cout' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp2.cpp(92) : error C2065: 'endl' : undeclared identifier

1>gpsmp3.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp3.cpp(74) : error C2065: 'cout' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp3.cpp(74) : error C2065: 'endl' : undeclared identifier

1>gpsmp4.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp4.cpp(88) : error C2065: 'cout' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp4.cpp(88) : error C2065: 'endl' : undeclared identifier

1>gpsmp5.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp5.cpp(74) : error C2065: 'cout' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\gpsmp5.cpp(74) : error C2065: 'endl' : undeclared identifier

1>uc2dgrph.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uc2dgrph.cpp(27) : error C2065: 'cerr' : undeclared identifier

1>uccontr.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uccontr.cpp(179) : error C2065: 'cerr' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uccontr.cpp(179) : error C2065: 'endl' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uccontr.cpp(1075) : error C2668: 'floor' : ambiguous call to overloaded function

1> c:\program files\microsoft visual studio 8\vc\include\math.h(559): could be 'long double floor(long double)'

1> c:\program files\microsoft visual studio 8\vc\include\math.h(511): or 'float floor(float)'

1> c:\program files\microsoft visual studio 8\vc\include\math.h(137): or 'double floor(double)'

1> while trying to match the argument list '(int)'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\uccontr.cpp(1075) : fatal error C1903: unable to recover from previous error(s); stopping compilation

1>ucdrv_ps.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdrv_ps.h(22) : fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory

1>ucgraph.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucgraph.cpp(36) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucgraph.cpp(151) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucgraph.cpp(166) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>ucplot.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(78) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(264) : warning C4996: 'sprintf' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'

1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(266) : warning C4996: 'sprintf' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'

1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(268) : warning C4996: 'sprintf' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'

1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(292) : warning C4996: 'sprintf' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'

1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(294) : warning C4996: 'sprintf' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'

1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(296) : warning C4996: 'sprintf' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\stdio.h(345) : see declaration of 'sprintf'

1> Message: 'This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(459) : error C2065: 'cerr' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucplot.cpp(821) : error C2065: 'endl' : undeclared identifier

1>ucsurfac.cpp

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(95) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(100) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucdriver.h(127) : warning C4996: 'strcpy' was declared deprecated

1> c:\program files\microsoft visual studio 8\vc\include\string.h(73) : see declaration of 'strcpy'

1> Message: 'This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucsurfac.cpp(85) : error C2065: 'cerr' : undeclared identifier

1>c:\documents and settings\MyName\my documents\visual studio 2005\projects\phys245\camgraph\ucsurfac.cpp(85) : error C2065: 'endl' : undeclared identifier

1>Generating Code...

1>Build log was saved at "file://c:\Documents and Settings\MyName\My Documents\Visual Studio 2005\Projects\PHYS245\camgraph\Debug\BuildLog.htm"

1>camgraph - 35 error(s), 34 warning(s)

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Here is the top of the camgraph file it complains about:

//
//******************************************************************************
// CAMGRAPH.H
//******************************************************************************
//

#include <iostream>





Is there any way I can attach the code so I do not have to put it all in my posts