1234567891011121314151617181920212223242526272829303132
//assignment 4 //Done By: NAwaf Abdullah Humaid Al-shibli //ID: 81303 #include <iostream> #include <string> using namespace std; class PhoneRecord { public: PhoneRecord(); PhoneRecord(string n); PhoneRecord(string n, string pn); friend bool operator< (PhoneRecord, PhoneRecord); friend bool operator> (PhoneRecord, PhoneRecord); friend bool operator==(PhoneRecord, PhoneRecord); PhoneRecord operator=(PhoneRecord); string fname; string lname; string phone; }; #endif \\fatal error C1020: unexpected #endif!!
#endif
#ifndef some_unique_name_that_indentifies_the_header
#pragma once