outputdebugstring Dev-cpp


Does outputdebugstring work with Dev-C++?

I want to do something like

char buf[2048];
sprintf(buf,"The value of variable num is %d \n",num);

in a Windows EXE application.

I have been working with PHP for years and using echo "string and variable" to the web page that I found very useful for catching bugs.

I am now using Dev-C++ - and have tried various ways of using outputdebug string but cannot see any message.

Perhaps Dev-C++ cannot handle this.

Any ideas please??????

std::cout << "The value of variable num is " << num << std::endl;
Topic archived. No new replies allowed.