I have a class which accepts vectors from another class called trader. This is the simulator class:
#include<vector>
using namespace std;
class Simulator
{
Trader trader;
Auctioneer auction;
public:
void run();
};
void Simulator::run()
{
trader.setBid();
auction.BidID(trader.getBidID(vector<int>));
auction.TraderID(trader.getTraderID(vector<int>));
auction.Quantity(trader.getQuantity(vector<int>));
auction.Price(trader.getPrice(vector<int>));
auction.Type(trader.getType(vector<char>));
auction.showbid();
auction.matchBids();
};
In these lines:
auction.BidID(trader.getBidID(vector<int>));
auction.TraderID(trader.getTraderID(vector<int>));
auction.Quantity(trader.getQuantity(vector<int>));
auction.Price(trader.getPrice(vector<int>));
auction.Type(trader.getType(vector<char>));
It gives me an error saying:
Simulator.h expected primary-expression before ')' token
Anyone know what the problem may be?I've included the header files bt it still wont work:S