“无法启动程序” <目录>“系统找不到指定的文件”

时间:2019-05-31 17:11:39

标签: c++

我找不到我的错误

#include <iostream>

using namespace std;

string versionn(int, toool);

int main(){

    cout << versionn(3);
}

string versionn(int, toool) {
    string vername;

    switch (toool) {

    case 0:
        vername = "version 1";
        break;
    case 1:
        vername = "version 2";
        break;
    case 2:
        vername = "version 3";
        break;
    case 3:
        vername = "version 4";
        break;
    default:
        vername = "5";

    }

    return vername;
}

0 个答案:

没有答案