I'm a beginner in programming and I'm studying the C ++ language, so it's also my first time using this site. But finally after doing a basic course on the referred language, I downloaded a source code to understand a little of the practice.
Then reading a part of the code I came across this line of code:
for (Creature* spectator : list) { }
But when I was seeing this type of loop there were some arguments but it was defined as the following example > > For (int i = 0; i