cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
how to get array in main to my class fun
how to get array in main to my class function
Nov 5, 2016 at 9:01pm UTC
Scuffz
(7)
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
Nov 7, 2016 at 3:46am UTC
integralfx
(897)
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.