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
Quick question on global variables.
Quick question on global variables.
Mar 15, 2015 at 3:56pm UTC
Chimychangas
(5)
Hey guys,
Just wondering, would this count as a global variable? It is currently placed within the private function of my class but I'm wondering if I move it just above the class line of code, will it be considered a global variable?
Thanks!
typedef
char
* CharPtr;
Mar 15, 2015 at 4:04pm UTC
shadowCODE
(680)
Thats not a variable. But YES. it would be global.
Last edited on
Mar 15, 2015 at 4:08pm UTC
Mar 15, 2015 at 4:06pm UTC
Disch
(13742)
Well, it's a typedef, not a variable.
So global? Yes.
Variable? No.
Topic archived. No new replies allowed.