0

What's with the warning?

I get a warning when running this code. https://code.sololearn.com/c842MPT0CN64/?ref=app

6th Dec 2019, 11:19 PM
Daniel Cooper
Daniel Cooper - avatar
3 Answers
+ 2
for(unsigned int i=0; i<Shelf.size(); i++) { std::cout << Shelf[i]->Name << '\n';
6th Dec 2019, 11:37 PM
rodwynnejones
rodwynnejones - avatar
+ 1
Seems you got it figured out, I didn't get any warning when running the code.
7th Dec 2019, 1:22 AM
Ipang
+ 1
Ipang Yea, thanks though. Lol
7th Dec 2019, 1:56 AM
Daniel Cooper
Daniel Cooper - avatar