[SOLVED] CS #include

$25

File Name: CS_#include.zip
File Size: 103.62 KB

5/5 - (1 vote)

#include
using namespace std;
#include
#include

#include Criteria.h

Criteria::Criteria(string n, string v, int w)
: name(n), value(v), weight(w) { }

string Criteria::getName() { return name; }
string Criteria::getValue(){ return value;}
intCriteria::getWeight() { return weight; }

void Criteria::print()
{
cout << setw(8)<< left<< name << ” “<< setw(20) << left<< value<< ” “<< setw(2)<< right << weight << ” ” << endl;}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS #include
$25