新手问个关于VS2010的问题
刚开始学习C++, 装了个VS2010, 边看thinking in c++边自学
想问一下, 一个简单的程序,比如:
#include <iostream>
using namespace std;
int main() {
// Specifying formats with manipulators:
cout << "a number in decimal: "<< dec << 15 << endl;
cout << "in octal: " << oct << 15 << endl;
cout << "in hex: " << hex << 15 << endl;
cout << "a floating-point number: "<< 3.14159 << endl;
cout << "non-printing char (escape): "
<< char(27) << endl;
} ///:~
要如何做才能在console里看到输出呢? 我点了debug->start debugging, 没有在下面的窗口里看到应该有的cout输出。