I want to continue a loop but after returning a value ?? [Detail in description] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I want to continue a loop but after returning a value ?? [Detail in description]

eg: . . . else continue; . . . * i want the else statement to return value 1 and then continue with the loop !!!

15th Jan 2017, 8:19 PM
Siddharth Naithani
Siddharth Naithani - avatar
1 Answer
+ 2
Maybe look at the <iterator> object: http://www.cplusplus.com/reference/iterator/
15th Jan 2017, 8:26 PM
visph
visph - avatar