need to know how to write definition to overload relational operators as a non member functions in c++ for e.g
friend bool operator ==(const dataType&,const dataType&)
friend bool operator <=(const dataType&,const dataType&
these are prototypes how do iwrite the definitionsof these two.
User Profile
Collapse
-
urgent help with operator overloading
-
urgent: can somebody find logical errors
i made a program for grading true and false test,there are no syntax error but program is not running like it should be
itshould give me student's ID followed by the answer,followed by test score followed by test grade.i made an input file and an out put file to match the answers
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
int main... -
code to search a person by last name
i made a class with personType and addressType .now ineed to search for a person by last name in c++and print the names of all all the people between two last names.somebody tell me the best way to write the code (not too complicated ) -
need help with class
i need to write a programby using a class AdressBookType which can perform following actions
load the data into the address book from a file
search the person by last name
print the address phone numbers and date of births
print the names of people whose birthdays are in a given month
help me as much as you can
No activity results to display
Show More