Thanx for your help I appreciate it. I now understand. Im going to take my final in an hour everyone wish me luck hahahah
Type: Posts; User: Turbo02
Thanx for your help I appreciate it. I now understand. Im going to take my final in an hour everyone wish me luck hahahah
Im starting to understand this now somewhat. My question is
value.numerator = (numerator * rat.denominator) + (rat.numerator * denominator);
value.denominator = denominator * rat.denominator;
...
I have to write a program that inputs a phone number in this form (555) 555-5555. I have to use the strtok function, but what is the point? im not sure. It mentions that the area code string should...
Thanks for the help guys but I jsut cant understand it.
Yeah i know thats for the main function but I wanted to know if my addition function is correct
Ok this is what I have for my addition function. Please tell me whats wrong here I dont have a clue.
#include <iomanip.h>
#include <stdio.h>...
Sorry man I dont understand that. I need to do something like this. Im not sure what to put inside the function. How can I add 2 rational numbers if I only pass in one. Im not sure but I think...
Hey whats up everybody. Im new to the board and Im trying to understand this overloading thing but I dont have a clue. Anyways I have to write a program that adds 2 rational numbers and I have to...