simple visual studio question
This is what I've done so far (not much) :
- made a MFC Project
- added a couple of button
- added a function for each button on click
Now Im trying to run some code when I click on one of the buttons. Im used to doing cout << variable; for debugging my programs but this doesnt seem to work in my project (even tryed std::cout << "hello"; and included iostream but no go. So my question is bascilly, whats the best way of debugging my program ? need to know what value some variables have, before when I used visual basic I could do msgbox but there must be a better way.
Sorry if this is too basic.