No video

Input and Output in C++

  Рет қаралды 251,276

Neso Academy

Neso Academy

Күн бұрын

C++ Programming: Input and Output in C++
Topics discussed:
1. Input/Output in C++.
2. The iostream Library:
• istream
• ostream
3. Standard Input & Output Objects:
i) cin
ii) cout
iii) cerr
iv) clog
4. An example showing the usage & working of cout and cin.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Follow me on Instagram: @jaiz_itech (bit.ly/2M3xyOa)
Contribute: www.nesoacademy...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacademy...
Website ► www.nesoacademy...
Forum ► forum.nesoacade...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CPPByNeso #CPP #InputInCpp #OutputInCpp

Пікірлер: 156
@axolet
@axolet 3 жыл бұрын
Neso Academy proves that Indians are still the best programmers 😆👍🏽
@deekshagk2834
@deekshagk2834 2 жыл бұрын
😆😆o 😆😆😂 o 😆😆o 😆i 😆😆8 😆ii8
@deekshagk2834
@deekshagk2834 2 жыл бұрын
😆😆😆😆 p
@ochacora3239
@ochacora3239 Жыл бұрын
10000% valid
@random_uploader1
@random_uploader1 Жыл бұрын
I am A Pakistani but I Agree With you .Happy to see Indians Progressing day by day
@physicsisawesome99
@physicsisawesome99 Жыл бұрын
​@@random_uploader1 maybe you should settle in india instead of living in Pakistan
@saravazquez4706
@saravazquez4706 2 жыл бұрын
I love how you explain letter by letter. Today was my first day of class and we started programming and I had no idea of what I was doing. I know is not that hard, but today was my first Computer Science class ever. You saved my life dude thx
@massinissadiche1880
@massinissadiche1880 Жыл бұрын
how was it so far ?
@MetalHeadRed954
@MetalHeadRed954 Жыл бұрын
You explain this more better than my professor 👏🏾👏🏾👏🏾
@yogeshkumawat3083
@yogeshkumawat3083 2 жыл бұрын
your content is gold, please keep making this videos and complete this series soon😊
@fredrickmweu
@fredrickmweu Жыл бұрын
This is now perfection..better than my campus lecturer
@dileepsterritory1564
@dileepsterritory1564 11 ай бұрын
Being a mechanical engineer i can learn as fast as a cse branch students, such an awesome explanation that will give us connected throughout ❤
@prudhvi_reddy
@prudhvi_reddy 3 жыл бұрын
Thank you sir. For explaining each and every letter in program. 👏
@mrhoho
@mrhoho Жыл бұрын
thanks for sharing
@tejashreechaudhari1665
@tejashreechaudhari1665 Жыл бұрын
Thank You! You explain every small thing in detail sir.
@dipeshsamrawat7957
@dipeshsamrawat7957 3 жыл бұрын
I love Neso Academy. ❤️😊
@AmanKumar-mu9im
@AmanKumar-mu9im 3 жыл бұрын
Bhai tu konse year me h...or kha se kar rha h bca
@nickuzumakii7498
@nickuzumakii7498 2 жыл бұрын
Thank you sir. You're my favorite teacher of all ❤️😊😊
@tamilkadhalphysco9039
@tamilkadhalphysco9039 2 жыл бұрын
Welcome dear☺️
@aryanmandi7748
@aryanmandi7748 2 жыл бұрын
why we don't use %d here in C++ ? can you please tell me about it.
@ManoharsurajGadiparthi-hk2gv
@ManoharsurajGadiparthi-hk2gv 2 күн бұрын
Yes we don't use​@@aryanmandi7748
@rajwantkaur7614
@rajwantkaur7614 2 жыл бұрын
Hats off 👏👏 well explained.. totally speechless for ur efforts 🙏🙏..thnx a lot providing such a useful information in efficient manner .
@ishaan9597
@ishaan9597 Жыл бұрын
broo i am studying bsc in gaming and i dont understand c++ in my class room but you are suchhhhh a life saver broooooo love you soooo professional love from banglore
@yabincheng4171
@yabincheng4171 Ай бұрын
std is the namespace used by the "standard library" which include "iostream" , "vector" ,... many commonly used libraries
@CrisAnjoreychoDagpin
@CrisAnjoreychoDagpin 11 ай бұрын
I really appreciate how he explained this tutorial. It is easy to understand and precise. Please make more videos sir.
@muhammadsohail7409
@muhammadsohail7409 2 жыл бұрын
Sir. can you use "using namespace std" instead of --> std :: because every time using std is not convinient.
@loveandthunder2928
@loveandthunder2928 Жыл бұрын
Yes we can, he will explain that in further videos
@starlightkinda7102
@starlightkinda7102 4 күн бұрын
thank you this was sooo helpful
@pundlikpatil2380
@pundlikpatil2380 3 жыл бұрын
Neso academy thank you so much 🙏😍
@Ticks_and_Chaos
@Ticks_and_Chaos Жыл бұрын
Correct me if I'm wrong, i guess 6:41 std is name space not library. In which cin and cout objects of istream and ostream classes (respectively) are defined.
@SKRtheGOD
@SKRtheGOD 11 ай бұрын
yepp correct ig library is
@rheniuspaul389
@rheniuspaul389 3 жыл бұрын
Nice sir... looking forward for different concepts Thank you
@varunsood7899
@varunsood7899 3 жыл бұрын
Sir please 🙏🙏 give us link to download these ppts. Because the contents are in the neso academy is in another level. Well done👌👌👌👍👍👍
@habibsultan3135
@habibsultan3135 Жыл бұрын
thanks
@purnarai76
@purnarai76 3 жыл бұрын
I am from Nepal. It is the best tutorial!
@tebebuwedaa9182
@tebebuwedaa9182 Жыл бұрын
I am so in love with c++ and u r a great techer tnx👍☺️
@codingSparrow143
@codingSparrow143 Жыл бұрын
Excellent explanation! One correction though, cin= character input and cout=character output.
@jyotiprakashrout7488
@jyotiprakashrout7488 3 жыл бұрын
Thank you sir 🤗 Please upload daily 🙏❤
@sumonkrdas
@sumonkrdas 3 жыл бұрын
+1
@jyotiprakashrout7488
@jyotiprakashrout7488 3 жыл бұрын
@@sumonkrdas Hey, Are you from Odisha?
@sumonkrdas
@sumonkrdas 3 жыл бұрын
@@jyotiprakashrout7488 nope I am from Assam
@gaurav_10108
@gaurav_10108 Жыл бұрын
​@@sumonkrdassame😊
@daviddastan9494
@daviddastan9494 Жыл бұрын
Hello Sir, I admire the way you teach, just asking if there is a link to download all the notes(pdf file will be helpful). Thank you.
@mianschannel4311
@mianschannel4311 Жыл бұрын
Thank uuuuuuu so much for this explanation u just saved a life here
@lizahammouche3431
@lizahammouche3431 Жыл бұрын
Omg it’s my second time trying to take a coding class and i never understood what all these things meant. I literally had a mental breakdown yesterday thank you so much, you reminded me that I’m not stupid it’s just the teachers that are bot doing their job ❤
@learninginstudentscafe7284
@learninginstudentscafe7284 3 жыл бұрын
Good job
@ErRakeshThakur
@ErRakeshThakur Жыл бұрын
Good explained
@75Richjen
@75Richjen 2 жыл бұрын
This is very good. Well taught. Thank you.
@YazeedSeraj
@YazeedSeraj 3 ай бұрын
A small correction, the "c" in cin and cout stand for character input and character output not console.
@pRABHAya
@pRABHAya Ай бұрын
🫨🫨really??
@diakritika
@diakritika Жыл бұрын
Two questions: does cin just copy or completely redirect the input? What if I want cout to appear in a text document or the active window?
@judew2347
@judew2347 11 ай бұрын
Great explanation. Thanks.
@Dpk_YT
@Dpk_YT 7 ай бұрын
You are legend
@aakashit2434
@aakashit2434 Жыл бұрын
thanks neso academy you academy is a great academhy
@soikothassan6717
@soikothassan6717 Жыл бұрын
Very Useful Video. Thank you.
@LearnEasy67
@LearnEasy67 6 ай бұрын
Excellent class.❤
@blinkoncearmy3134
@blinkoncearmy3134 3 жыл бұрын
What is the code when the user inputs an id, it should not match previous Id's which user might have entered before.🙏
@arvind6457
@arvind6457 11 ай бұрын
Wow sir Iostream ka meaning ab sammjh me aaya
@pandujppandujp9122
@pandujppandujp9122 Жыл бұрын
This is to good to compair my teachers and helpful also😊
@gatkuothgatlekgeah329
@gatkuothgatlekgeah329 Жыл бұрын
it is very interested lecture
@AmanKumar-mu9im
@AmanKumar-mu9im 3 жыл бұрын
Sir better than paid course
@briancontreras5814
@briancontreras5814 9 ай бұрын
Wow better then my computer science professor
@bankorium
@bankorium 2 жыл бұрын
Thankyou You Sir. Best explanation.
@lolab3977
@lolab3977 Жыл бұрын
awesome , thanks
@mdBabu-st7ku
@mdBabu-st7ku Жыл бұрын
Great sir
@sallaklamhayyen9876
@sallaklamhayyen9876 2 жыл бұрын
Great Explanation, thank you so much
@Hifigaming82
@Hifigaming82 2 жыл бұрын
Love the way you teach ☺☺☺
@aoxog741
@aoxog741 Жыл бұрын
c++ with dsa will help me lot
@nadiakhalili9555
@nadiakhalili9555 2 жыл бұрын
best video i've seen
@cherryson4625
@cherryson4625 3 жыл бұрын
This is all I need..... thanks
@ByAatikaSafeer
@ByAatikaSafeer 2 жыл бұрын
Zabardast
@aibou2399
@aibou2399 3 жыл бұрын
Nice!
@anjaligupta-ew6ns
@anjaligupta-ew6ns 3 жыл бұрын
Thanku sir
@user-hj3uq5jt7v
@user-hj3uq5jt7v 11 ай бұрын
thank you, man, your great effort thanks.
@shivanichidurala2828
@shivanichidurala2828 2 жыл бұрын
Tysm for these amazing videos!!
@mahdishadi04
@mahdishadi04 7 ай бұрын
5:00 wouldn’t be better to use (using namespace std;) in second line instead of using std at the begging of each line?!
@yosephnega5774
@yosephnega5774 2 жыл бұрын
Thank you sir you are helping me
@franztorallo5357
@franztorallo5357 11 ай бұрын
Indians just built different bruh
@ssuryateja2623
@ssuryateja2623 Жыл бұрын
your content is so good 🤩
@sandipbhowmik6641
@sandipbhowmik6641 3 жыл бұрын
Sir please complete this as soon as possible . It may help us in placements
@sanketsawant6382
@sanketsawant6382 3 жыл бұрын
Sit assignments 🙏
@aakashit2434
@aakashit2434 Жыл бұрын
thanks neso academy
@krishna-tj9ut
@krishna-tj9ut Жыл бұрын
great video thank you very much
@accessdenied9393
@accessdenied9393 2 жыл бұрын
Better Explanation Than GeeksForGeeks
@ShubhamKumarNITRR
@ShubhamKumarNITRR 2 жыл бұрын
Awesome explaination wow👌👌
@PreludeSon
@PreludeSon 3 жыл бұрын
Nicely done!
@krishitasharmaa
@krishitasharmaa Жыл бұрын
do we need to learn that whole input output code?
@vinayveeraj8551
@vinayveeraj8551 2 жыл бұрын
Bro well explaining 👏👏👏👏👏👏☺
@amritkaur4017
@amritkaur4017 2 жыл бұрын
you are amazing!!!!!!!!!!!!!!!!!!
@princybasnet9610
@princybasnet9610 2 жыл бұрын
In 14:06 should we always initiate n1 and n2 as '0'
@ICannotStandLeftards
@ICannotStandLeftards Жыл бұрын
Generally a good idea to initialize a variable with something, but in this particular case it isn't necessary. An int (integer) value has a default value of "0" if it isn't specified.
@Rashed_Ahmed_48
@Rashed_Ahmed_48 3 жыл бұрын
Thank you sir
@divyaagarwal3563
@divyaagarwal3563 2 жыл бұрын
Thankyou sir😊
@user-zj1ig9li5f
@user-zj1ig9li5f 10 ай бұрын
perfectly
@ochacora3239
@ochacora3239 Жыл бұрын
Upload regularly
@DrCognitive
@DrCognitive 6 ай бұрын
One thing I notice is that C++ absolutely sucks for handling input. It's an absolute nightmare. Like if I want to get text from a user, like a company name that has two or more parts like "Lumber Log Service" I need to use getline, but then if there is another input that is an int, I have to use cin, but then it might screw up because of something in the buffer. Like there just isn't a clean and easy way to get inputs without weird and outright stupid problems.
@onyx6895
@onyx6895 Жыл бұрын
You explane very well i love it but why don't you use Visual Studio(not vsCode). You can easy to compile with Visual Studio. Anyway great video ty.
@Lita1
@Lita1 Жыл бұрын
Oh interesting video I liked this video yes!!!!👍😅
@lovellaasinero2508
@lovellaasinero2508 2 жыл бұрын
what is the best c++ compiler you could recommend?
@evzenroy5388
@evzenroy5388 2 жыл бұрын
Instead of using std in each line, we could use using namespace std; in header file
@walidyusuf4241
@walidyusuf4241 Жыл бұрын
That is what I was thinking about
@loveandthunder2928
@loveandthunder2928 Жыл бұрын
Yes we can, he will explain that in further videos
@afanoromolyricsofficial
@afanoromolyricsofficial 2 жыл бұрын
cool, done!
@muhammadusman5521
@muhammadusman5521 2 жыл бұрын
can we write rndl in a seperate line like std::cout
@adityanpanchal6976
@adityanpanchal6976 2 жыл бұрын
I have a question about what is difference between header and library. If we just include library and don't include the header then what will be happen.
@anshipatel9703
@anshipatel9703 2 жыл бұрын
Then it will show error first you have to include header ,header simply tells that the function exist but it does not define it while in library function is defined in codes which tells how the function will proceed...
@mohmmadirfan786
@mohmmadirfan786 Жыл бұрын
Why intialised value in n1 or n2 =0 after you input value again
@khankhichi9047
@khankhichi9047 3 жыл бұрын
Write a program that replaces two or more consecutive blanks in a string by a single blank.for example if the input string is "programming is an art of problem Solving". Then the output should be "Programming is an art of problem solving. "..??????. Sir statement that i write first in double coats in this statement are used spaces after word solving.
@mediumrocker4701
@mediumrocker4701 2 жыл бұрын
No words to say... Theres no better college you can sent your kids too
@anilgiri4366
@anilgiri4366 Жыл бұрын
Thanks for the nice content. One small doubt, cout and cin are object of iostream header file then why do we say these are defined or in scope of std?
@rajeshprajapati6662
@rajeshprajapati6662 Жыл бұрын
The definition of cout is in std namespace which is declared in iostream.
@sumonkrdas
@sumonkrdas 3 жыл бұрын
Pls don't make any delay in uploading the next video
@user-zo9ye6de5e
@user-zo9ye6de5e 3 жыл бұрын
Sir plz upload videos daily ...
@Mindandsoul1996
@Mindandsoul1996 3 жыл бұрын
Great
@Pgarts5951
@Pgarts5951 4 ай бұрын
Can you teach me python programming with machine learning, bcz I got my project
@ayushipandey9849
@ayushipandey9849 3 жыл бұрын
Thank god
@user-hb5kw5ri8g
@user-hb5kw5ri8g 4 ай бұрын
Can wo do it on dev c++ alsoo
@bluefinsxmovies
@bluefinsxmovies 2 ай бұрын
Please is it a must to equate n1 and n2 to zero?
@pRABHAya
@pRABHAya Ай бұрын
I think not really
@ICannotStandLeftards
@ICannotStandLeftards Жыл бұрын
Why do so many videos not include "using namespace std;" so they don't have to type std::cout or std::cin so much?
@varunsood7899
@varunsood7899 3 жыл бұрын
Sir website mai toh koi c++ ki book ka link nhi hai. Please sir give link for book.
@simasaha81
@simasaha81 3 жыл бұрын
Try sunita Aurora for 11 and 12 standards.
@varunsood7899
@varunsood7899 3 жыл бұрын
@@simasaha81 I am doing bca. I have a book e balagurusamy. But I have to see which book neso academy will suggest..
@simasaha81
@simasaha81 3 жыл бұрын
Sir, you should have defined stdio.h header to minimize writing that std:: everywhere.
@dbarrerap
@dbarrerap 3 жыл бұрын
stdio is a library for C, iostream is for C++. Indeed, you can use stdio still, but is for old code.
@shadmansakib55052
@shadmansakib55052 Жыл бұрын
Can you give us the slides?
Namespaces in C++
12:37
Neso Academy
Рет қаралды 189 М.
C++ File Input and Output
10:21
Shmeowlex
Рет қаралды 64 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 41 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 10 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 44 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 35 МЛН
"C" Programming Language: Brian Kernighan - Computerphile
8:26
Computerphile
Рет қаралды 1,9 МЛН
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 345 М.
Compiling & Executing C++ Programs (VS Code)
13:42
Neso Academy
Рет қаралды 265 М.
C++ Tutorial for Beginners - Learn C++ in 1 Hour
1:22:56
Programming with Mosh
Рет қаралды 3,9 МЛН
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 854 М.
Input File Streams in C++ (Reading from Files)
10:17
Programming with Dr. Hayes
Рет қаралды 32 М.
What Actually is Embedded C/C++? Is it different from C/C++?
11:05
Jacob Sorber
Рет қаралды 145 М.
The 'while' Statement in C++
15:18
Neso Academy
Рет қаралды 103 М.
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 41 МЛН