I want some functions of one class in another class how can i acess that functions
rajachi
0
Newbie Poster
Recommended Answers
Jump to Postpick up a c++ book for beginners and start over...
Jump to Postwell for accessing one class function in an other the easiest method is to create the same function in the other class or do over loading
like wise
class name of that class whose function u r calling::then the function name();>well for accessing one class function in an other …
Jump to Post> class name of that class whose function u r calling::then the function name();
even this is not correct unless you specify its a static function, which seems like a far cry for the original post at this time
All 10 Replies
Agni
370
Practically a Master Poster
Featured Poster
sweety0
0
Light Poster
Agni
370
Practically a Master Poster
Featured Poster
Agni
370
Practically a Master Poster
Featured Poster
sweety0
0
Light Poster
sweety0
0
Light Poster
Agni
370
Practically a Master Poster
Featured Poster
sweety0
0
Light Poster
Agni
370
Practically a Master Poster
Featured Poster
zhelih
-1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.