How to write Iterators Code in Short in C++ STL ? | Auto and Range based loops | CP COURSE | EP 24

Опубликовано: 21 Октябрь 2024
на канале: Luv
164,104
5.8k

C++ STL TUTORIALS :    • C++ STL | Competitive Programming  
FREE COMPETITIVE PROGRAMMING COURSE TUTORIALS :    • Competitive Programming/DSA Course | ...  
FOR DOUBTS AND DISCUSSIONS, JOIN DISCORD :   / discord  

In last video we discussed iterators in detail but we see that iterators code in c++ has long statements to write, so in this video i discuss with you that how you can write iterators code in short using two features of c++ that are auto keyword and range based loops. Auto keyword and range based loops are very helpful to right small code in C++ specially in case of iterators.

Timestamps:
Range based Loops : (0:00)
Auto keyword : (4:37)

Be a part of our awesome Community. Join
○ Discord :   / discord  
○ Telegram : https://t.me/LuvIsMeYT

You can follow me on below platforms for all the latest updates
○ Instagram :   / i._m_.luv  
○ Twitter :   / luvk1412  
○ Linkedin :   / luvk1412  

Blog(Not frequently updated)
○ Blog : https://www.codewithluv.in


Hashtags
#auto #rangeloops #iterators #shortcut #stl #tutorial