开发者

Windows to Evaluate Function on the Fly on VC++ 2008

开发者 https://www.devze.com 2023-02-13 08:56 出处:网络
In VC++ 2008, is there a window where I can type in a valid expression ( i.e, a method such as sqrt(5) ) and the result will show?

In VC++ 2008, is there a window where I can type in a valid expression ( i.e, a method such as sqrt(5) ) and the result will show?

I tried to use the watch windows when I'm doing debugging, but it can only show v开发者_StackOverflowariable values and do simple computation such as 1+2; it can't evaluate functions with values.

Anything I miss?


The watch window should work for simple function evaluations. But I believe what you are looking for is called the 'immediate' or 'command' window.

0

精彩评论

暂无评论...
验证码 换一张
取 消