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;
    }
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+1 =