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
Setting all values of an array
Setting all values of an array
Jan 29, 2011 at 8:26am UTC
closed account (
4Gb4jE8b
)
I have a multidimensional array (10x10) that I want all of the values at first to be 0. Is there any easy way i could do this like
myarr[10][10] = 0
thanks in advance.
Jan 29, 2011 at 8:30am UTC
stereoMatching
(308)
size_t myarr[10][10] = {{0}};
Jan 29, 2011 at 8:55am UTC
closed account (
4Gb4jE8b
)
many thanks good man!
Topic archived. No new replies allowed.