C++ tutorial for beginners 👨‍💻

  Рет қаралды 272,155

Bro Code

Bro Code

Күн бұрын

Пікірлер: 230
@BroCodez
@BroCodez 2 жыл бұрын
#include int main() { std::cout
@Itachi-mr8nj
@Itachi-mr8nj 2 жыл бұрын
🤣
@rauldragu9447
@rauldragu9447 2 жыл бұрын
If you are using newline characters (' ' as you always should), you might as well put them inside the string literal: std::cout
@isyraqfirdaus5322
@isyraqfirdaus5322 2 жыл бұрын
THE BRO IS BACK CODING!
@mohdfarhannawaz
@mohdfarhannawaz 2 жыл бұрын
i just started learning c++ and i just watched your video , they are exceptionally good . thanks for the amazing content . Liked and shared as always .
@alexachua2613
@alexachua2613 2 жыл бұрын
Hello Sir, Can you also please make a complete tutorial of GUI Apps in C++? Like CreateWindow (), etc... I am a beginner and i want to learn c++ and i wanna know how to create my own Notepad, Calculator, Winzip, Image Viewer App, etc.. in C++. Please sir, I am beggin you. :'( 🙏🏻
@annoyingprecision2487
@annoyingprecision2487 Жыл бұрын
This is a marvellous introduction to C++. Your ability to distill the material in clear, concise and comprehensible manner is simply unparalleled. Thanks a lot.
@DevSlowz
@DevSlowz 2 жыл бұрын
One of the best coding channels and thr content is unmatched.
@AirpIaneMan
@AirpIaneMan Жыл бұрын
From all the tutorials for C++ only from bro code , I can understand thanks bro.
@idunno2126
@idunno2126 6 ай бұрын
4:03 Nuclear Launch Code =))) i like it 🤣
@SucharithaSamarasekara
@SucharithaSamarasekara 24 күн бұрын
i thought i was the only one noticing it
@shariqm9785
@shariqm9785 3 ай бұрын
I finished the course! Thanks.
@VivaMukisa
@VivaMukisa 23 күн бұрын
😢
@shariqm9785
@shariqm9785 19 күн бұрын
@@VivaMukisa ?
@bsh3973
@bsh3973 2 жыл бұрын
i could learn everything is learnable throught you videos without getting bored. Wow
@carnitatacos6690
@carnitatacos6690 5 ай бұрын
This is a random comment for the KZbin algorithm. rooting for you bro
@overki1l
@overki1l 2 жыл бұрын
Thanks. Please continue to upload more c++ videos.
@linkhanthtel
@linkhanthtel 2 жыл бұрын
Bro Code came back :)))
@acdc7331
@acdc7331 Жыл бұрын
my bin is an empty file when i open it from msys and my compiler does not work
@mwael3600
@mwael3600 11 ай бұрын
I know it is kinda late but open you C drive on you pc then MinGW file, after that open a file called MinGW64 or something I don't remember very well, finally open bin file in there, you will find files there copy the path of that bin file and place it in you edit Enviroment variables, and the windows will read that bin file
@Voidishdimension
@Voidishdimension 6 ай бұрын
@@mwael3600 OMG thank you so much
@allendannbertio3773
@allendannbertio3773 5 ай бұрын
​@@mwael3600Does it still work if my MINGW64 file is in D drive? I did that already with it in my d file but it doesn't compile still
@RefRed_King
@RefRed_King 4 ай бұрын
@@mwael3600 is it this path file? C:\msys64\mingw64\x86_64-w64-mingw32\bin
@RefRed_King
@RefRed_King 4 ай бұрын
@@mwael3600 could you help me with this error? 'g++' is not recognized as an internal or external command, operable program or batch file.
@twisdeadd
@twisdeadd 6 ай бұрын
thank you!! and special thanks for clear pronunciation so even I as non-native can understand
@rashasmadi1996
@rashasmadi1996 2 ай бұрын
Thx brooo from jordan 🇯🇴 ❤
@trananhkhoa8395
@trananhkhoa8395 2 жыл бұрын
so good you came back
@KopyErr
@KopyErr Жыл бұрын
Phew installing the gcc compiler for windows was a demon for me 💀💀💀
@RefRed_King
@RefRed_King 4 ай бұрын
i need help for some reason there is a error when i run the code
@IGa-Robot546Cort
@IGa-Robot546Cort 4 ай бұрын
@@RefRed_King look for the "Run"-Ctrl+Alt+N option not the debug or run C++ options, took me a fat minute to figure it out.
@RefRed_King
@RefRed_King 4 ай бұрын
@@IGa-Robot546Cort dw i fix it. Turns out i didnt enable the gcc in the files or sumething
@handicap_applied6295
@handicap_applied6295 3 ай бұрын
@@RefRed_King Just click the 3 dots next to it and un check Enable preview editors
@who_is_arnob
@who_is_arnob 2 ай бұрын
SAME
@jakubkratochvil9059
@jakubkratochvil9059 Ай бұрын
Thank you you are better teacher than mine.
@8plus2isNOT11
@8plus2isNOT11 5 ай бұрын
for anyone wondering to get it to output in the actual output section you may need to install the code runner extension
@arooba6132
@arooba6132 2 ай бұрын
you can use "using namespace std ; " after "include" instead of using "std::" in every line
@vinayaksingh524
@vinayaksingh524 2 жыл бұрын
Tip: you can use std::cout
@uhfan22
@uhfan22 2 жыл бұрын
Your tip is useful. Although the reason he did that, is to help newbies understand what the " " thing does itself.
@zoro.73
@zoro.73 11 ай бұрын
std::endl is a overkill unless you want to flush the stream
@HunaBopa
@HunaBopa Жыл бұрын
Yeah, I think I can relate to that. My first time C++ compiler installation took me a whole day and another 9 hours. In order to just run my C++ codes I need to compile manually everytime I write a new line of code. It's still difficult. In Python, It's very simple that even a 6 year old kid can install and run Python codes. I mean, why C++ and C language installation, compilation and running codes are not yet made easy as Python? Can't we as a developer build or develop a system or an IDE where anybody can pick up any programming language however they want just by clicking one button. That single button will do everything for you like compile and run your codes just as easy as it is with python? I mean, installations, compiling and and running doesn't really deserve the time it usually takes. All our time deserves building great applications and solving the real world problem.
@kvsbcsljv
@kvsbcsljv Жыл бұрын
apt install clang clang++ file.cpp -o file ./file it's that easy bro
@corewar75
@corewar75 3 ай бұрын
yo that shit was amazeing im gonna use your videos to code keep up the good work
@jwanmabdo6725
@jwanmabdo6725 2 жыл бұрын
Hi, the #include and are not wokring... It says "please update your includepaths" on the include, and that it cannot open source file "iostream". Plss help its been hours but i cant solve it
@sonny894
@sonny894 Жыл бұрын
same issue here, how did you solve this issue?
@adityamaurya4363
@adityamaurya4363 4 ай бұрын
I like your youtube algo image 😁
@fabricio7112
@fabricio7112 8 ай бұрын
I'm currently learning javascript and i got to this video just to see how it is some code in c++. Surprisingly it is another level of abstraction, i gotta stick to javascript a little longer but i will definitly get back here to learn c++, you are a inspiration in my path of learning thanks Bro Code !
@Speedy_boy-20
@Speedy_boy-20 Жыл бұрын
This tutorial has helped me to start my journey into c++ coding.
@gbzedaii3765
@gbzedaii3765 3 ай бұрын
skip to 9:10 to get straight to tutorial
@MainulHossainAnik
@MainulHossainAnik 19 күн бұрын
DONE BRO❤❤😌😌
@nihilapila
@nihilapila Жыл бұрын
These videos are great, keep it up!
@rev0live752
@rev0live752 Жыл бұрын
4:07 damn bro got those nuclear launch codes
@shricharanramesh7149
@shricharanramesh7149 6 ай бұрын
I love you bro you are awesome :O
@gurruprasaath7315
@gurruprasaath7315 2 жыл бұрын
Awesome come back buddy !!
@danixx1113
@danixx1113 2 жыл бұрын
Does anyone recommend to use Visual Studio instead of VS Code, as it already integrates the C++ compiler when installing the desktop work C++ extension from the Visual Studio Installer? Thanks, great video!
@KashufAsgharSyed
@KashufAsgharSyed Жыл бұрын
YOU SURE CAN:)
@zoro.73
@zoro.73 11 ай бұрын
Yep use VS, its an IDE not like a editor like vsc
@networkrazor2081
@networkrazor2081 5 ай бұрын
I hit the play button and it just said that g++ is not recognized as an internal or external command
@dheepthasreejithae2710
@dheepthasreejithae2710 4 ай бұрын
It happens to me even if i have gcc file
@kirei_tenshi1132
@kirei_tenshi1132 Жыл бұрын
This was a great explanation! Thank you! ♥
@damp_21
@damp_21 5 ай бұрын
bro i just finished watching this video i fucking love this guy!
@SHD69
@SHD69 2 жыл бұрын
I bought a 30$ c++ book, but in the end, I still prefer watching KZbin tutorials :D
@francek_2141
@francek_2141 Жыл бұрын
Love you Bro!!! Keep it up!
@onurguzel16
@onurguzel16 2 жыл бұрын
Hi Bro! Great to see you again, you're doing great! However I want to ask about a detail that I noticed. In your older video entitled "C Full Course" which lasts 4 hours and 5 minutes long, you didn't mention the many additional steps to configure GCC compiler there unlike you did in this video for Windows environment. I mean, in this video you did install Pacman, MSYS2 and executed many commands etc. but you didn't have to do these in your previous C video, both videos include installing VS Code, MinGW, and VS Code C/C++, Code Runner extensions in common, but this video has more additional steps to configure GCC to make it running such as dealing with Pacman, MSYS2 whereas your previous C Full Course tutorial didn't need that. Can you tell the reason as comparison? Best regards, keep up good work bro! 😊
@HunaBopa
@HunaBopa Жыл бұрын
Yeah, I think I can relate to that. My first time C++ compiler installation took me a whole day and another 9 hours. In order to just run my C++ codes I need to compile manually everytime I write a new line of code. It's still difficult. In Python, It's very simple that even a 6 year old kid can install and run Python. I mean, why C++ and C language installation, compilation and running codes are not yet made easy as Python? Can't we as a developer build or develop a system or an IDE where anybody can pick up any programming language however they want just by clicking one button and . That single button will compile and run your codes just as easy as it is with python? I mean, installations, compiling and and running doesn't really deserve the time it usually takes. All our time deserves building great applications and solving the real world problem.
@osvaldogalvez4776
@osvaldogalvez4776 8 ай бұрын
Random comment below: I appreciate all your videos !
@thwaha2251
@thwaha2251 Жыл бұрын
'g++' is not recognized as an internal or external command, 'operable' is not recognized as an internal or external command, showing this in cmd. pls help
@kyriena527
@kyriena527 Жыл бұрын
also stuck with this, pls bring me back if it's solved.
@unknownuser9567
@unknownuser9567 11 ай бұрын
For me it turned out the C/C++ extension for VSCode wasn't installed properly so maybe try reinstalling it.
@matthewman1
@matthewman1 4 ай бұрын
watch the video lol
@mirarafatali3845
@mirarafatali3845 Ай бұрын
Also showing this in VS code. pls help.
@AshutoshBhardwaj-b1v
@AshutoshBhardwaj-b1v 5 ай бұрын
CAN YOU PLEASE ADD EXCEPTIONAL HANDLING AND FILE HANDLING LEACTURE IN C++
@CementPaul
@CementPaul Жыл бұрын
what to do it says 'g++' is not recognized as an internal or external command, operable program or batch file.
@unknownuser9567
@unknownuser9567 11 ай бұрын
For me it turned out the C/C++ extension for VSCode wasn't installed properly so maybe try reinstalling it.
@rssszz7208
@rssszz7208 Жыл бұрын
Need more c++ content and logical thinking to write cpp❤❤
@IsRaphaelGo
@IsRaphaelGo 2 ай бұрын
Incase you're getting an erorr saying that you can't get the iostream header file. (In vs code) 1- Control + Shift + P 2- Search c/c++ select intellisense configuration 3- Click g++.exe
@thechoosen4240
@thechoosen4240 2 жыл бұрын
Great channel
@Viral_trends_only
@Viral_trends_only 6 ай бұрын
😂😂
@totoosarts
@totoosarts 4 ай бұрын
Hi, there, i'd just like to appreciate your hard and wonderful work sharing these wonderful precise and to the point tutorials, bless your heart and wish you all the best and may the Lord Jesus Christ shine His light on you and yours :)
@primordial987
@primordial987 Жыл бұрын
Great work👍 respect
@Yugani841
@Yugani841 4 ай бұрын
so would you guys rather use endl or
@blitzcreed_1131
@blitzcreed_1131 4 ай бұрын
I followed step by step but for some reason when I open up the bin in the mingw64 folder it's just empty and when I open command prompt it says not recognized, someone pls help me
@NXB_10
@NXB_10 4 ай бұрын
did you find a solution? i did everything but my code doesn't run
@Squilly-G0d
@Squilly-G0d 4 ай бұрын
I had to use the ucrt64 folder instead. Everything else was the same. Hope this helps
@NIk0Lais
@NIk0Lais 2 жыл бұрын
Help, it gives me the error `` gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory `` i tried to search it on internet but i cant find out how to resolve the problem. this error iti when i try to pacma -Su after the Y .please help me out
@conatswa4289
@conatswa4289 2 жыл бұрын
happened to me. Just type pacman -Su again and it should work. Good luck :)
@evryon1810
@evryon1810 2 жыл бұрын
Awesome profile picture
@ChuMinhUyen
@ChuMinhUyen 12 күн бұрын
You deserve the Gigachad avatar
@owen323
@owen323 2 жыл бұрын
will there be an assembly language tutorial?
@georgereeves7400
@georgereeves7400 2 жыл бұрын
no
@owen323
@owen323 2 жыл бұрын
@@georgereeves7400 why?
@Kurt-kj1jh
@Kurt-kj1jh 6 ай бұрын
what if the mingw64 bin is empty? what am I supposed to do?
@LSDStudiosParahill
@LSDStudiosParahill 5 ай бұрын
kzbin.info/www/bejne/pXSZaqmijNSZgLM worked like a charm
@10-K09
@10-K09 Жыл бұрын
I seem to be having problems with running the first VS code, it says I need to debug in order to run, other than that, this has helped me get farther than any other sources!
@Akash-wi4yz
@Akash-wi4yz Жыл бұрын
dont download g++ how he says, its outdated. follow the website
@melkor1177
@melkor1177 2 жыл бұрын
🐐
@myhppc
@myhppc 28 күн бұрын
thanks
@Iamandyr
@Iamandyr Жыл бұрын
thank you, my teacher was trying to teach us this stuff but she was way too aggressive with it and I did not make sense, and the less I wanted to ask questions.
@acridpie4492
@acridpie4492 Жыл бұрын
It says target not found when I type Pacman-S -needed base-devl ..... What should I do now? I have also repeated the process few time but the same command appears 'Target not found' everytime I press enter.
@lalkad8561
@lalkad8561 Жыл бұрын
same to me
@reeex14
@reeex14 Жыл бұрын
same think to me, your comment is month ago so if you had fix it let me know please.
@notbastian1887
@notbastian1887 2 жыл бұрын
Great tutorial, thank you! I just have one question: for some reason, I don't have the 'Code' tab in my output window. Do you have any idea why this is?
@AbhishekPNair-uz4sg
@AbhishekPNair-uz4sg 10 ай бұрын
Dude, you need to install the "code runner" extension as said in the video, after that the code tab should appear in the drop down menu
@danigeometrydash
@danigeometrydash 3 ай бұрын
my MSYS2 MSYS does not open, idk why. can someone pls help me?
@danigeometrydash
@danigeometrydash 3 ай бұрын
nevermind i followed another tutorial and it worked :D
@CầnbiếtKo-k5i
@CầnbiếtKo-k5i Жыл бұрын
xin chào người vn đầu tiên sem kênh youtobe của you
@mgames3209
@mgames3209 2 жыл бұрын
I love your vids
@odiyn8315
@odiyn8315 2 жыл бұрын
how’d you get that .vscode subfolder randomly?
@omarsplaytimechannel
@omarsplaytimechannel Жыл бұрын
Thank you for video
@MohamedMostafa-os8zj
@MohamedMostafa-os8zj 5 ай бұрын
when i search this app and click on it on start menu it doesn't even start
@zyura0373
@zyura0373 3 ай бұрын
can't run MSYS2 MSYS from start menu
@zhirayrhakobyan7623
@zhirayrhakobyan7623 2 жыл бұрын
Is this gonna be series of tutorials?
@Hezekiel112
@Hezekiel112 2 жыл бұрын
Thanks for this free tutorial
@shivakumark1824
@shivakumark1824 2 жыл бұрын
STD:cout we can easily replace this by Using Namespace std; right?
@zoro.73
@zoro.73 11 ай бұрын
Dont use that, it only creates problem more than solving
@Oto__Ai
@Oto__Ai 2 жыл бұрын
Why you didn't use visual studio?
@melleborst6412
@melleborst6412 Жыл бұрын
this is visual studio code...
@Oto__Ai
@Oto__Ai Жыл бұрын
@@melleborst6412 but not visual studio
@Zhaxxy
@Zhaxxy Жыл бұрын
​@@Oto__Aivisual studio code is used for mutiple languages while visual studio is more suited towards c# or other c like languages, he does tutorials on many other languages so he probably would prefer a universal code editor
@i_Am_Mr.Edits1
@i_Am_Mr.Edits1 6 ай бұрын
13:59 "Sexually Transmitted Diseases" Bro what💀
@gnaw7364
@gnaw7364 Жыл бұрын
Thank you!
@Tăctawc-9a
@Tăctawc-9a Жыл бұрын
return 0 ; this mean is ?
@JordanZhang
@JordanZhang 2 ай бұрын
How about stdio.h
@iliabarani6766
@iliabarani6766 7 ай бұрын
Nice intro dude
@Alhassan7081
@Alhassan7081 4 ай бұрын
Thanks for your videos and I subscribed in your channel, but can you delete this picture in the first video?
@M12mm34
@M12mm34 Жыл бұрын
BroCode can i just use online GDB for making a c++ codes ??
@betterthanyou8970
@betterthanyou8970 2 ай бұрын
My c++ isn't working 😢
@FrederikWollert
@FrederikWollert 10 ай бұрын
Good Video Bro.
@Naisthis
@Naisthis 2 жыл бұрын
welcone back :)
@JEEVISAKTHI-pe8hr
@JEEVISAKTHI-pe8hr 9 ай бұрын
Bro code for life❤
@Navi2Jz
@Navi2Jz 3 ай бұрын
i have started my journey
@aditya-k6x9z
@aditya-k6x9z 2 күн бұрын
01:03:40
@Tibiafy
@Tibiafy 9 ай бұрын
Honestly, I am here to create a bot for tibia older versions. And you will help me alot with that in your videos hehe. Thx a lot
@Binamlernen
@Binamlernen 2 ай бұрын
i can also do it in google colab cant I?
@HadiElzein-w8v
@HadiElzein-w8v 4 ай бұрын
thanks Bro passed my C++ course with an A-
@turtlequylee
@turtlequylee Жыл бұрын
sir you are my hero
@dibyojyotibhattacherjee897
@dibyojyotibhattacherjee897 2 жыл бұрын
I HAD A question, should I use msys like here or cygwin or mingw...
@Thisisdcode
@Thisisdcode Жыл бұрын
what in the names of gods earth is an output buffer????
@ilovemoms5385
@ilovemoms5385 Жыл бұрын
I keep getting the “gcc is not recognized as an internal or external command” error after I did all of this. What’s going on?
@user-vn2pn8vk4q
@user-vn2pn8vk4q Жыл бұрын
did u figure this out bc i have the same issue
@ilovemoms5385
@ilovemoms5385 Жыл бұрын
@@user-vn2pn8vk4q No. Comment below if you find answers.
@ilovemoms5385
@ilovemoms5385 Жыл бұрын
I found a new solution around this because nothing was working for me. I got C++ up and running through Ubuntu and it wasn’t even 5 minutes.
@lucysenpai4103
@lucysenpai4103 2 жыл бұрын
my #inlcude have error, saying please update your include path.
@lucysenpai4103
@lucysenpai4103 2 жыл бұрын
send helppp
@oDiablo
@oDiablo Жыл бұрын
Same did you find a solution
@raquel-l8h
@raquel-l8h 4 ай бұрын
loveubro
@chupapirastaman4259
@chupapirastaman4259 2 жыл бұрын
plss reply i problem on the word (cout) it doesnt highlight i think i have problem on that i show an error when running it
@sliky7317
@sliky7317 2 жыл бұрын
Any way to download the compiler for chromebook?
@delaramra5572
@delaramra5572 9 ай бұрын
hello everyone, I am searching for a good course for starting from scratch and reviewing all essential concepts in C++, is there any course or website with defined projects help me to learn more actively?
@szokecsabadaniel3217
@szokecsabadaniel3217 Ай бұрын
My journey begins... 29/11/2024
@rorgemoscow6473
@rorgemoscow6473 Жыл бұрын
I have a problem my vs code don't read syntax error before running how can I fix it
@speedster784
@speedster784 2 жыл бұрын
Do a Django tutorial next in more details
@ismailyousfi3521
@ismailyousfi3521 2 жыл бұрын
Thenk you
Variables and basic data types ✗
10:44
Bro Code
Рет қаралды 70 М.
C++ FULL COURSE For Beginners (Learn C++ in 10 hours)
10:27:41
CodeBeauty
Рет қаралды 3,3 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 297 М.
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1,3 МЛН
How to REALLY learn C++
8:13
The Cherno
Рет қаралды 816 М.
you will never ask about pointers again after watching this video
8:03
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 633 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,3 МЛН
Learning C++ by making a Game... in 1 Week?!
10:14
Floky
Рет қаралды 651 М.
C++ Programming All-in-One Tutorial Series (10 HOURS!)
10:28:15
Caleb Curry
Рет қаралды 2,3 МЛН
C++ For C Programmers full Tutorial
8:43:58
freeCodeAcademy
Рет қаралды 23 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН