I have a C++ program written using Eclipse CDT. This program needs arguments to be passed to it. How can I do that using Eclipse CDT?

Thanks.

Have one of the files from the project selected, then under Project/Properties/Run-Debug Settings/Launch Configurations for '<yourproject>' select your exe file (so probably needs to be built before editing this, but I don't know). Then edit and select the arguments tab.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.