nesting of member functions

N

newbai

hi!!
need some help with turbo c++
I am trying to nest member functions.what I did was try to access a
member function with is public thro another function which is
public,but turbo c++ gives a error saying this cant be done..
can someone help me??
 
J

Jim Langston

newbai said:
hi!!
need some help with turbo c++
I am trying to nest member functions.what I did was try to access a
member function with is public thro another function which is
public,but turbo c++ gives a error saying this cant be done..
can someone help me??

Plesae show code what you are trying to do that failed.
 
S

Salt_Peter

newbai said:
hi!!
need some help with turbo c++
I am trying to nest member functions.what I did was try to access a
member function with is public thro another function which is
public,but turbo c++ gives a error saying this cant be done..
can someone help me??

Not without seeing code.
What do you mean when you say "nested functions"?
Just because a function is public does not neccessarily make it
accessible.
 
R

Rolf Magnus

newbai said:
hi!!
need some help with turbo c++
I am trying to nest member functions.what I did was try to access a
member function with is public thro another function which is
public,

How? Show an example.
but turbo c++ gives a error saying this cant be done..

What exactly does it say?
can someone help me??

Not without more information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top