DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
for loop with array c++
int v[] = {1,2,3,4,5}; for (int n : v) cout << n << endl; //make sure to compile with -std=c++11
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#loop
#array
ADD COMMENT
Topic
COMMENT
Name
5+3 =
Submit