DataType

DataType - { bool equality = false; if (fName ==...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#include "DataType.h" { { fName = data.fName; fGPA = data.fGPA; fIncome = data.fIncome; fTest = data.fTest; fCredits = data.fCredits; } return *this; }
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { bool equality = false; if (fName == data.fName) equality = true; return equality; } bool CDataType::operator<(const CDataType& data) { bool lessThan = false; if (fName < data.fName) lessThan = true; return lessThan; }...
View Full Document

This note was uploaded on 01/17/2012 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.

Ask a homework question - tutors are online