cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
incorrect Length of Array
Page 2
incorrect Length of Array
Pages:
1
2
Jun 24, 2013 at 10:30pm UTC
AdrianH
(82)
Yes Peter, the reason for that is because the first dimension immediately decays to a pointer, so it is lost to the type system and doesn't need to be a compile time constant.
Topic archived. No new replies allowed.
Pages:
1
2