Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.
I am trying to overload the << operator, and use it to print out a list.
For some reason, it isn't working out.
Here's my class deifnition:
class JGAirlines
{
friend ostream &operator<<(ostream &,JGAirlines &);
public:
JGAirlines(int,int); // Constructor...
I wrote a function called Delete(), which is supposed to take in a name of a person, and delete it from the list. For some reason it doesn't work. When I try debugging it, I get that there is a problem here:
return (compare(0, _Mysize, _Right._Myptr(), _Right.size()));
First of all, I...
Thanks for all the feedback. So from reading what you guys wrote, there's nothing wrong with my Add fucntion... right?
The reason I ask is because I tried your Print function (YoNeX), and this time, the program doesn't give me an error, but it also doesn't print out the passenger. Wouldn't...
I HAVE A NEW QUESTION!
How do I use the overloaded >> operator to print the result? I have no idea how to do it!
--------------------------------------------------------------------------------------------------------------------------------------
OK so I wrote this function which is...
I need to create a function called PrintFlightManifest. This function asks the user for a flight number (1 or 2), then the function prints all the passengers on that flight (no more than 20 passenger on each flight). I must use the overloaded >> operator.
This is the definition I have in my...
First of all I want to say I AM NOT ASKING FOR ANYONE TO WRITE THIS FOR ME. I will provide as much detail as possible, because this program is complicated.
I have a program I need write. I have to create a program for an airline called Jet Green or JG for short (it's actually a college...