User profile: krityx

User info
User name:krityx
History
Joined:
Number of posts:6
Latest posts:

Object not actually being modified by a class method
Oh yeah that was it.. gcd was -1 and it was dividing by -1 ... Thanks.

Object not actually being modified by a class method
I have this constructor for my rational class: [code]rational(int a,int b) { num=a; denom=b; ...

Overloading == operator
Thanks.

Overloading == operator
Inside my class I have defined the == operator as a friend : friend bool operator==(rational a, r...

STL map question.
yeah but i can't declare map<char[20],int> so how can I do this, if it is possible ? edit: neverm...

This user does not accept Private Messages

User: krityx

  • Public profile