Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 22
main x 3
Member Avatar for aikiart

Hello, I've got a simple program where i'm trying to a Char array with a string, but even though the program in debug mode shows that the string Phone = Phone, it is not adding a new line when the string starts with Phone. Can anyone tell me why the …

Member Avatar for Ancient Dragon
0
160
Member Avatar for aikiart

Good afternoon, I've got an assignement where i need to set up a parent class and a child class with .cpp files. When I try to call the a function in the child class i get and undefined reference error. I'm able to initialize this class using the default constructor …

Member Avatar for Fbody
0
159
Member Avatar for aikiart

Good afternoon, Does anyone know whether it's possible to have more than one overloaded ostream in a class? This is for a time class that i've created however it ouputs data like this 12:12:12:AM, i'd like to use the same ostream operator to output military time 14:12:12, however when I …

Member Avatar for aikiart
0
110
Member Avatar for aikiart

Good afternoon, I'm working on a class assignmeent trying to use overloaded math operators + - but i'm getting the following error when I compile. Line 29 of the main program generates this error: Linker error undefined reference to 'TimeClass::operator+(TimeClass const&) any help is appreciated. Here is the code: TimeClass.h …

Member Avatar for aikiart
0
181
Member Avatar for aikiart

Good day, I'm having problems seeing how the recursion is working with this program. I've traced it but I don't understand why after if(num >0) is false it returns to the statement following the last function call and then seems to start the recursion again, but backwards? What I see …

Member Avatar for aikiart
0
104
Member Avatar for aikiart

Good day, I've got a question about why program 19-3 won't display a returning message but program 19-2 will. THIS IS 19-2 // This program demonstrates a simple recursive function. #include <iostream> using namespace std; // Function prototype void message(int); int main() { message(5); return 0; } //************************************************************ // Definition …

Member Avatar for aikiart
0
196
Member Avatar for aikiart

Good morning, I've got a general question about overloading operators. Suppose you have a class that overloads the + operator and overloads the = operator, if you do something like this length3 = length1 + length2, will you automatically call both the overloaded + and = operator and if so, …

Member Avatar for aikiart
0
208