Archived

This topic is now archived and is closed to further replies.

Viscous-Flow

Visual C++ 6.0 command line

Recommended Posts

Viscous-Flow    122
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.

Share this post


Link to post
Share on other sites
Viscous-Flow    122
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?

Share this post


Link to post
Share on other sites
invective    118
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

Share this post


Link to post
Share on other sites