Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ for in

// just example for explanation :)
	
	// vector containt strings
	vector<string> USERS;
	
	// take string from 'USERS' 
	// under name 'user' in each time :)
	for(string user : USERS){
    	std::cout << user << std::endl;
    }
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+2 =