• Advertisement

Archived

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

Visual C++ 6.0 command line

This topic is 5945 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement