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
class in class
class in class
Nov 25, 2009 at 10:40pm UTC
akayrak
(21)
I wrote a class named x in an other class' public named y. And i want to use something like that in main;
x data
But i can't solve how can i do that.
Nov 25, 2009 at 10:42pm UTC
Bazzy
(6281)
use y::x outside y
- x has to be public -
Nov 25, 2009 at 10:56pm UTC
akayrak
(21)
yeap i solved with writing;
y::x data;
in main
Topic archived. No new replies allowed.