Range Based For Loop | C++ Tutorial

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I'm a beginner C++ programmer, and to me your explanation is just perfect. Thanks!

davidkim
Автор

Nice one yet again, Kevin. Appreciate the clarity and of course as always, the utter lack of fluff. 👍

lucasgroves
Автор

I cannot get the range-based for loop to work with my on-heap array. How come?

franzageek
Автор

Plz share a Playlist about making some games with graphics in c++

karimbousmaha
Автор

Thanks once again for everything! char my_array [] - here my_array is essentially a pointer to the first character - so when we declare a string using a pointer directly - char* my _array = "Portfolio"; - why am I getting this error -
Error (active) E0144 a value of type "const char *" cannot be used to initialize an entity of type "char *' - I am also not able to modify individual characters in a string after declaring the string because of the read only permission. Thanks!

ValliNayagamChokkalingam
Автор

how do if i want to print the indexes of the array?, example : cars indexes of 1, ship indexes of 2 etc

aegr
Автор

hi, is it possible to print a int* which is pointing to 3 elements using Range Based For Loop?

rajendranm
join shbcf.ru