evaluate new expression in Visual Studio 2013

I have a very simple question. I am debugging my project and now the program is stopping at a break point.

Assumed variable x=34 already created before the breakpoint. I would like to evaluate the following expression:

std::cout<< "x^2 = " << x*x << endl;

My question is where do I enter the above statement and evaluate it in VS2013?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories