<分区>
我在这里得到了这么一小段代码:
#include "stdafx.h"
#include <iostream>
using namespace std;
void WhyDoesThisNotWork();
int main()
{
void WhyDoesThisNotWork();
return 0;
}
void WhyDoesThisNotWork()
{
cout << "Why don't you just print this for god's sake?" << endl;
}
我真的不明白为什么它不直接在屏幕上打印我想要的内容。我什至从我的一本书中复制了确切的代码,但它仍然没有达到我想要的效果。为什么?