# Question on class programming

**URL:** <https://forum.kirupa.com/t/question-on-class-programming/247944>\
**Category:** Uncategorized\
**Created:** [January 2, 2008, 3:48am UTC](https://forum.kirupa.com/t/question-on-class-programming/247944 "2008-01-02T03:48:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rotaercz](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@rotaercz](https://forum.kirupa.com/u/rotaercz)\
**Post date:** [January 2, 2008, 3:48am UTC](https://forum.kirupa.com/t/question-on-class-programming/247944/1 "2008-01-02T03:48:49Z")

</div>

if the following structure…

class a {  
var c  
class b {}  
}

…how can class b change variable c? or is there a better way to implement this?
