![]() |
|
#1
|
|||
|
|||
accessing a private member in a public memberhi everybody!!!
i have a class as CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
i know that i will just call CPP / C++ / C Code:
thanks everybody!!! |
|
#2
|
||||
|
||||
|
Quote:
__________________
Age is unimportant -- except in cheese |
|
#3
|
|||
|
|||
|
Quote:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
actually we store the numerator and denominator as unsigned numbers and its sign in a different member (sign) so when we are going to do calculations we need to use both numerator and denominator as negative or positive so we must call artihmethicSign function. but the trouble is add function member has two arguments and i must call arithmethicSign for both of them ?? therefore the arithmethicSign member function is a private function so can i do ? CPP / C++ / C Code:
|
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Introduction to .NET | LuciWiz | .NET Forum | 5 | 09-Aug-2007 04:53 |
| Static Class Member Accessing | Melvin Lin | C++ Forum | 12 | 04-May-2004 02:48 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The