Visual C++ 6.0 command line

Started by
4 comments, last by Viscous-Flow 22 years, 5 months ago
Hi, How do you add command line parameters in Visual C++ 6.0. I was digging through some C++ specifications and found this -stdnew option that makes it so new throws a bad_alloc exception as stated in the new C++ standard Also, -nostdnew is another command line arguement that is supposed to make new return NULL. Any suggestions would be appreciated.
Advertisement
Never mind, I figured it out.

On the Tools menu, click Options, and then click Command-Line Options.
hmmmmmmmm....

It appears its not in the learning edition in that section, anyone know where it would be?
I dunno about learning edition. In enterprise is project->settings or alt+F7.
I do have a project->settings dialog, but there is a lot of tabs and none of them have a command line option portion.

Anyone have any idea about where to find it in the learning edition?
if it was there it should be on the compiler c/c++ tab.

I don''t see it listed here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/_core_compiler_reference.asp?frame=true

and microsoft seems to want you to set your own handler if you want exceptions thrown:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_langref_new_operator.asp?frame=true

This topic is closed to new replies.

Advertisement