小编has*_*123的帖子

c ++ oop编程

project1.cpp

#include "stdafx.h"
#include "Bicycle.cpp"
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
    bool runP = true;
    do {
    Bicycle object();
    char oType;
    cout << "Would you like a (B)icycle, or (A)nimal? E for Exit\n";
    cin >> oType;

    if (oType == 'B' || oType == 'b') {
        int seat, wheels;
        string brand;
        cout << "How many wheels does the bike have?\n";
        cin >> wheels;
        object().setWheels(wheels);
        cout << "How many seats does the bike have?\n";
        cin >> seat;
        object().setSeats(seat);
        cout …
Run Code Online (Sandbox Code Playgroud)

c++ linker-errors

-2
推荐指数
1
解决办法
209
查看次数

标签 统计

c++ ×1

linker-errors ×1