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
Quick question
Dec 2, 2010 at 11:21pm UTC
Sean 1
(5)
If a program where to have a "typedef double Etype", what would something like
storageM(new EType[0]) do
(storageM is also of type Etype(this means storageM is of type double right??))
Thanks for any help
Dec 2, 2010 at 11:31pm UTC
Computergeek01
(5613)
Yeah that sounds right. This is called polymorphism and is a fancy\confusing way for us lazy programmers to type less and get the same result.
Topic archived. No new replies allowed.