How to pass arguments from the IDE of Visual C++ 2005 Express Edition

Dear All,

I am new to the Visual C++ 2005 Express Edition. I have written a network program that required me to pass the IP address to the main program. There is no problem for this when I invok the executable program as "C:\>server 192.168.31.2"

My problem is how to pass this IP to the program from within the IDE of the Visual C++ 2005 Express Edition.

Your help is much apprecited

Bassam



Answer this question

How to pass arguments from the IDE of Visual C++ 2005 Express Edition

  • Mr Leaf

    Use the project setting, under Debug. There you can enter the arguments you want use when starting the program from within the IDE.

  • How to pass arguments from the IDE of Visual C++ 2005 Express Edition