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.
精彩评论