C++ arrays explained 🚗

  Рет қаралды 20,025

Bro Code

Bro Code

Күн бұрын

C++ arrays tutorial example explained
#arrays

Пікірлер: 33
@BroCodez
@BroCodez 2 жыл бұрын
#include int main() { std::string cars[3] = {"Corvette", "Mustang", "Camry"}; std::cout
@zakmartin7567
@zakmartin7567 2 жыл бұрын
Heck yes. Keep these updated vids coming pls. My C++ term starts next week :3
@FrederikWollert
@FrederikWollert 6 ай бұрын
I really like your C++ series. Keep it up. Please make more C++ Videos. So, let's defeat the KZbin algorithm.
@AnimateIt2BauBau
@AnimateIt2BauBau Жыл бұрын
The edit at 5:18 was so smooth
@artemzakharchuk2842
@artemzakharchuk2842 Жыл бұрын
#include using namespace std; int main() { string names[8] = {"Artem", "Eva", "Yula", "Polina", "Lesha", "Bogdan", "Nikita", " Dima"}; cout
@albertomecanicaslocassergio
@albertomecanicaslocassergio 10 ай бұрын
It's a good start, but you can reduce the amount of lines doing: #include using namespace std; int main() { string names[] = {"Artem", "Eva", "Yula", "Polina", "Lesha", "Bogdan", "Nikita", "Dima"}; for(std::string name : names){ cout
@Rashed_16
@Rashed_16 3 ай бұрын
someone tells him about using namespace std;
@theday56
@theday56 2 ай бұрын
he mentioned in another vid why he doesnt use it but i dont remember
@Rashed_16
@Rashed_16 2 ай бұрын
@@theday56 oh okay
@Lokvie
@Lokvie Ай бұрын
It might be useful for some projects, but it is a bad practice. It makes the code harder to read for others and also makes it harder for you to write when you have to work on someone elses project, that doesn't use ''namespace std;''
@tavares._art
@tavares._art 10 ай бұрын
using namespace std int main() { int shoeSize [6] = { 33, 35, 37, 39, 41, 43} cout shoeSize
@waafQ3
@waafQ3 Күн бұрын
man my size is not even close to what you entered
@tavares._art
@tavares._art Күн бұрын
@@waafQ3 lol
@MuzoGonViral
@MuzoGonViral 2 ай бұрын
#include #include using namespace std; int main() { string car[]={"toyota, Nissan,isuzu"}; cout
@whathuh6965
@whathuh6965 2 ай бұрын
string Brands[] ={Nike, Adidas, Puma, Fila,} if(Condition ==true) { Brands[0] = "Sketchers"; }
@criminalx7099
@criminalx7099 2 жыл бұрын
string bikes[2]; cout
@panxel8615
@panxel8615 10 ай бұрын
you can do sizeof(bikes). it returns the length of the array, in this case 3
@jesusmarin6668
@jesusmarin6668 13 күн бұрын
Yeah I was going to say that but you already now that
@yahyaarfaoui8526
@yahyaarfaoui8526 Жыл бұрын
Array[ "good job"];
@wlsedlacek
@wlsedlacek Жыл бұрын
double car[] = {1.99, 4.57, 19.99, 100}; std::cout
@abidaismail8539
@abidaismail8539 4 ай бұрын
Sir zoom out the screen
@oximas-oe9vf
@oximas-oe9vf 2 жыл бұрын
what would happen if you try putting accessing an element out side the array in c++ i.e.(std::cout
@FlorrioEggGaming
@FlorrioEggGaming Жыл бұрын
uhh that shouldn't even happen ,you are only meant to get a warning that this value doesn't exist
@MindOfT1m
@MindOfT1m 3 ай бұрын
yeah wtf 🤣
@parpaperchimp
@parpaperchimp 8 ай бұрын
#include int main (){ int pizza = 1; int neutral = 2; int choise; Std::string neutralmenu[]= {“meat”, “pasta”,”bread”} pizzamenu[]={“margherita”,”marinara”,”capricciosa”}; std::string std::cout
@estherolayade4723
@estherolayade4723 6 күн бұрын
string drinks = {"Milkshake,", "Water", "Soda", "Smoothie", "Juice" }; std: : cout
@ancientastronauttheorists
@ancientastronauttheorists Жыл бұрын
#include using namespace std; int main() { double prices[] = {3.40 , 4.33, 22.50}; prices[0] = 30; cout
@matheus1766
@matheus1766 Жыл бұрын
#include int main() { std::string colors[] = {"Red", "Blue", "Yellow", "Pink", "Black", "Gray", "Green"}; std::cout
C++ sizeof() operator explained ⚖️
4:55
Bro Code
Рет қаралды 10 М.
Arrays in C++
18:31
The Cherno
Рет қаралды 427 М.
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 22 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 72 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,7 МЛН
you will never ask about pointers again after watching this video
8:03
C++ user defined functions explained 📞
7:24
Bro Code
Рет қаралды 17 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 252 М.
This Algorithm is 1,606,240% FASTER
13:31
ThePrimeagen
Рет қаралды 844 М.
C++ pointers explained easy 👈
5:16
Bro Code
Рет қаралды 31 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,2 МЛН
Array vs. ArrayList in Java Tutorial - What's The Difference?
17:36
Coding with John
Рет қаралды 539 М.
C++ CLASSES & OBJECTS explained easy 🧍
10:54
Bro Code
Рет қаралды 24 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 803 М.
Cool Parenting Gadget Against Mosquitos! 🦟👶 #gen
00:21
TheSoul Music Family
Рет қаралды 32 МЛН