No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Can u help me guys. I have problem of calling function from class and overloading. When I'm trying to print short int type number, the program brakes down. No errors are shown which tell me whats wrong. [CODE]#include <cstdlib> #include <iostream> using namespace std; int i=0, j=0, zero_fill, l=0; class … |
|
Re:
Hi, this is what i'm trying to do [icode] class a { private: string attribute; string p_msg; public: string& getAttribute() { return attribute; } }; [/icode] above is the class, i want to call function getAttribute() from class a is a linked list: list<a*> aa [icode] void sortFile(Manager& manage, const … |