cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Stack,queue and string.
Stack,queue and string.
Apr 8, 2015 at 1:00pm
Apr 8, 2015 at 1:00pm UTC
Lee125
(67)
Can I know should we use array to store the number or words. Is that wrong when we use array?
Apr 8, 2015 at 1:13pm
Apr 8, 2015 at 1:13pm UTC
Gamer2015
(810)
No, it's not wrong.
Arrays have some advantages (no runtime memory allocation) but also some disadvantages (eg. not resizeable), so it depends on your application what you should use.
Topic archived. No new replies allowed.