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
Static const
Static const
Oct 11, 2010 at 9:36pm UTC
ffcalixto
(16)
How would i implement a static const that displays my name?
Oct 11, 2010 at 9:39pm UTC
Bazzy
(6281)
Your question doesn't make much sense
Oct 11, 2010 at 9:57pm UTC
LB
(13399)
1. static const, ok, but what variable type? char*? string?
2. Displays your name? Do you mean 'contains' your name? If it were to display your name it'd have to be a member function of a class in order to be static, but then why const?
Topic archived. No new replies allowed.