how to get array in main to my class function

http://i.imgur.com/hbjVeB9.jpg http://i.imgur.com/EJsiMUb.jpg looking at s3 how can i get that array into my class function so I can work with it, I'm guessing its a pointer, but not sure how to use it
Could we see the IntegerSet class?

if( (*ptr)[i] )
is invalid, as (*ptr) becomes an int when you dereference, so [i] will not work.
Topic archived. No new replies allowed.