Hi,
I am now using VS2005 to write a console program. Since the
int main(int argc, char** argv)
function is designed to accept parameters, how can I pass them to the program while debugging in step by step mode?thank u in advance.
Hi,
I am now using VS2005 to write a console program. Since the
int main(int argc, char** argv)
function is designed to accept parameters, how can I pass them to the program while debugging in step by step mode?thank u in advance.
http://www.geekpedia.com/KB30_How-can-I-pass-command-line-arguments-while-debugging-within-Visual-Studio-.NET.html
(The steps are the same for your version of Visual Studio)
Edit:: This link is not to demotivate you, it doesn't require much reading (only one line of text) and is very straightforward :P
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.