我已经对这个问题做了一些深入的研究,并且发现了其他与我相似但错误不一致的人。我的两个主要理论是我错过了一些显而易见的东西,或者我打破了Visual Studio。代码运行如下: // ConsoleApplication5.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#i
对于我的实验室,我们需要在一个列中显示输出值,然后显示值的用途。 我需要的例子。 Amount of adult tickets: 16
Amount of children tickets: 12
Revenue from ticket sales: $140.22
我试图用运输及工务局局长像 cout << "Amount of adult tickets: