小编Nil*_*tex的帖子

系统未在范围内声明?

我知道它的简单代码,如何修复"系统未在范围内声明"问题?

#include<iostream>
using namespace std;

int main(void)
{
    system ( "TITLE Calculator" );
    system ( "COLOR 2" );
    char cChar;
    double dfirstnumber;
    double dsecondnumber;
    char cDoagain;

    do
    {
        system("CLS");
        cout << "Please enter the first number you would like to use."<< endl;
        cin >> dfirstnumber;
        cout<< "Please enter the operation you would like to perform." << " (+,-,*,or /)" << endl;
        cin >> cChar;
        cout<< "Please enter the second number you would like to use." << endl;
        cin >> dsecondnumber; …
Run Code Online (Sandbox Code Playgroud)

c++ compiler-errors

18
推荐指数
2
解决办法
11万
查看次数

标签 统计

c++ ×1

compiler-errors ×1