我收到了followint错误:
错误C3867:'std :: basic_string <_Elem,_Traits,_Ax> :: c_str':函数调用缺少参数列表; 使用'&std :: basic_string <_Elem,_Traits,_Ax> :: c_str'创建指向成员的指针
#include "stdafx.h"
#include <iostream>
#include <Windows.h>
#using <System.dll>
#include <sstream>
#include <string>
using namespace System::Net;
using namespace std;
int main(array<System::String ^> ^args)
{
int input;
cout << "Welcome to the prize draw!!" << endl;
cout << "Please enter your age - ";
cin >> input;
cin.ignore();
if (input < 13){
cout << "You must be 13 or over to enter" << endl;
}
else
{
cout << …Run Code Online (Sandbox Code Playgroud)