I love how you make each and every video stand on its own feet, in the sense that the viewer has to never refer to a previous video to get hold of the topic being taught. Thank you for going the extra mile making each tutorial self-reliant!
@PortfolioCourses2 жыл бұрын
You're welcome Aniruddha! :-) And thank you for the kind feedback.
@mohamedtalal446810 ай бұрын
Thank you so much, I love how you convert the science from a thing we should memorize to a thing we could understand so we can deal with in many cases thank you
@emreibrahim8504 Жыл бұрын
The only person on youtube who explained this correctly
@PortfolioCourses Жыл бұрын
I'm glad you enjoyed the explanation Emre! :-)
@emreibrahim8504 Жыл бұрын
@@PortfolioCourses I loved it ♥
@PortfolioCourses Жыл бұрын
@@emreibrahim8504 Awesome ♥
@OOGWAYnewcp6 ай бұрын
the comments already express what I want to say, thank you for this!
@PortfolioCourses6 ай бұрын
You're very welcome! :-D
@tanmaygoyal81502 жыл бұрын
Thanks for this. On point, intelligent explanation.
@PortfolioCourses2 жыл бұрын
You’re welcome Tanmay! :-)
@alizeeshan7447 Жыл бұрын
Ma Sha Allah... Wonderful explanation... 💌💌💌
@leonardopantoja71219 ай бұрын
Dios mío! esto es poesía pura. GRACIAS.
@paoloose2 жыл бұрын
Nice, clear and concise explanation
@PortfolioCourses2 жыл бұрын
Thank you for the positive feedback Paolo, I’m glad that you enjoyed the video! :-)
@saidrafili2622 жыл бұрын
Awesome explanation as usual. Thank you, Sir. Please, make more videos on interesting topics in C++
@PortfolioCourses2 жыл бұрын
You're welcome Said, I'm glad you enjoyed it! :-) I am thinking about making some C++ videos on exceptions, design patterns, and data structures sometime soon.
@saidrafili2622 жыл бұрын
@@PortfolioCoursesThat would be great, Sir. Thank you a lot!
@PortfolioCourses2 жыл бұрын
@@saidrafili262 🙂
@MarkNabeel33 Жыл бұрын
That's really so useful, thank you !
@yuwownly86302 жыл бұрын
Great video Sir. Your channel really helps me a lot in learning programming especially c++. But I have one question sir. Do you have any resources on how I can deeply understand buffers in c++ and how it works?
@PortfolioCourses2 жыл бұрын
Thank you Yuw! :-) And sorry I don't have any resources on buffers in C++. The Google results aren't that great either it looks like: www.google.com/search?q=buffers+in+C%2B%2B. Maybe I can make more videos on this topic one day. Is there anything in particular you are trying to learn about buffers in C++?
@yuwownly86302 жыл бұрын
@@PortfolioCourses Well, I just read about the stream buffer class. Maybe you could explain how it works and how we can use this class in our program. 😊
@PortfolioCourses2 жыл бұрын
@@yuwownly8630 OK cool, I'll add that to my list of video ideas. 🙂
@yuwownly86302 жыл бұрын
@@PortfolioCourses Thank you very much. It would be of great help.
@AMINE-dd1qy Жыл бұрын
thank you ! i finished the program and the get line function worked only for one time and i thought i had to start all over again but hey it is all that buffer thing ,so all i have to do is the ignore function just befor the get line to ensure that the buffer is empty right?
@Pesquisando0b10117 ай бұрын
You forget to mention to add the library .
@neo7834411 ай бұрын
Great explanation.
@tushikushi93 Жыл бұрын
Superb explanation
@PortfolioCourses Жыл бұрын
I’m glad you enjoyed it Tushi! :-)
@brazamorim52392 жыл бұрын
Nice explanation!
@PortfolioCourses2 жыл бұрын
Thank you Braz, I'm glad you enjoyed it! :-)
@emreozbek6770 Жыл бұрын
You can do this with string but not with char or int. char msg; cin>>msg; cout
@firepower01 Жыл бұрын
C and C++ legend over here
@PortfolioCourses Жыл бұрын
Thank you for the support! :-)
@alonsoperez9488 Жыл бұрын
Hello!!! Nice video sir explainning a difficult concept like clear the buffer, but I have a qusetion, I'm using Netbeans for windows, and when I use the cin.ignore(1,' '), my program can delete 1 skip even if I just put 1 for ignore the ' '. I whant to know if thi is because we areusing differents IDE's or it's because something else.
@lf61902 жыл бұрын
There is another solution that's a bit easier. You can do the following instead: number = _getch(); include the library. But thanks for the info. I didn't know you could this it like this too.
@PortfolioCourses2 жыл бұрын
Thanks for sharing! I'm not sure that _getch() will clear the input buffer though. My understanding is that _getch() is a Microsoft function and not part of the C++ standard, so it will not be portable to other compilers. And _getch() will only clear one character from the input buffer, not clear the entire buffer. As a practical matter I can see how it would be useful to clear something like a newline character from the buffer, if you're expecting one newline character to be there.
@hafizsakib27342 жыл бұрын
Nice explanation
@PortfolioCourses2 жыл бұрын
Thank you Hafiz! :-)
@kunalbahirat77952 жыл бұрын
Thanks it was helpful!
@PortfolioCourses2 жыл бұрын
I'm glad to hear it was helpful Kunal, and you're welcome! :-D
@xinking26442 жыл бұрын
good explain! thank you
@PortfolioCourses2 жыл бұрын
You're welcome Xin! 😀
@yamaikaguyachi2 жыл бұрын
Thanks again👌
@PortfolioCourses2 жыл бұрын
You’re welcome! :-)
@yt-116111 ай бұрын
aren't 2 characters ?
@PortfolioCourses11 ай бұрын
is a newline, it's a special character that means "newline on the terminal/file/etc" so it's represented with in strings even though technically it's one character in practice (say, in a text file)
@contentofAI2 жыл бұрын
thank you sir
@PortfolioCourses2 жыл бұрын
You’re welcome Lovish! :-)
@zoxemo38382 жыл бұрын
👍👍👍
@emreozbek6770 Жыл бұрын
What happens when you leave the parenthesis empty? cin.ignore();