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
When declaring new Type[n]
When declaring new Type[n]
Jul 15, 2010 at 4:39am UTC
pabloist
(132)
When you declare something like
type* thing =
new
type[n]
, why does thing have to be a pointer? I feel like I've read it before but I can't remember.
Jul 15, 2010 at 5:54am UTC
Jesuss
(12)
it use for creating dynamic memory
Jul 15, 2010 at 9:27am UTC
Bazzy
(6281)
http://www.cplusplus.com/doc/tutorial/dynamic/
Jul 15, 2010 at 9:36am UTC
pabloist
(132)
Thanks bazzy.
Topic archived. No new replies allowed.