August 2001
Beginner
482 pages
10h 52m
English
Variables defined outside of any function have global scope and thus are available from any function in the program, including main(). |
In C++, global variables are avoided because they can create very confusing code that is hard to maintain. You won't see global variables in any code in this book, nor in any programs I write.
Read now
Unlock full access