Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Access data from an inner class

Reply
Thread Tools

Access data from an inner class

 
 
alexo
Guest
Posts: n/a
 
      04-01-2013
Il 01/04/2013 14:55, Victor Bazarov ha scritto:
> On 4/1/2013 4:38 AM, alexo wrote:
>>>
>>> I know there are many ways to accomplish the same task in computer
>>> programming especially for languages as powerful and flexible as C++,
>>> so my asking was if there were other methods to accomplish the same
>>> task.

>>


> The code looks OK. Do you have any problems compiling it? From what
> I understand about inner members, the access to Outer: in the c-tor
> of Inner should be allowed (since 'Inner' is a member of 'Outer').


No problem compiling or executing that code. I wanted just an opinion
on my 2nd solution to the problem I rose in this thread

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access to private data type of an outer class from inner class agentprog@gmail.com C++ 2 04-02-2013 04:48 PM
Why inner class can not have static data, static fields or nested class? Robin Java 0 06-06-2007 11:16 AM
failing to instantiate an inner class because of order of inner classes Pyenos Python 2 12-27-2006 11:19 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
inner classes in python as inner classes in Java Carlo v. Dango Python 14 10-19-2003 08:49 AM



Advertisments