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
Array of Chars vs. C-string
Array of Chars vs. C-string
Apr 15, 2012 at 11:11am UTC
georgep
(158)
Am I allowed to use an array of characters the same way I would use an array of integers? ie. Do I have to use it like a C-string (with a null terminator)?
I don't want to use it as a string, only as an array - is this possible?
Apr 15, 2012 at 11:20am UTC
Peter87
(11234)
Yes that is perfectly fine.
Topic archived. No new replies allowed.