Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
@atiquekhan77605 жыл бұрын
ok
@anuragbej67234 жыл бұрын
Nice explanation but I have few questions Why we used arr[100] and arr1[100] ? and I tried using only arr[100] but it prints only the value given during that compiling and it appends whole value
@MuraliMurali-eq9ef3 жыл бұрын
You simply Marvelous❤️
@lalitmehra3809Ай бұрын
Same bro mine is today also 😅😅
@archenite66195 жыл бұрын
Best subscription request ever! It came out of nowhere and just had to hit subscribe the moment you mentioned it. Great video, never stop.
@SimpleSnippets5 жыл бұрын
Thank you so much buddy 😊 glad to hear this from you ✌️ and yes surely will keep putting out more content on the channel 😊
@adnanaman43913 ай бұрын
@@SimpleSnippets You havent used ios::in ....
@deadelaus26113 жыл бұрын
It's unreal how comprehensive you make these subjects to be man. Another 16 minutes well spent for me. Thanks a lot for putting out this content
@wt44885 жыл бұрын
randomly studying on yt 1 day before exam .... :P
@SimpleSnippets5 жыл бұрын
Hahaha this is exactly what I used to do 😉
@satnium94012 жыл бұрын
Same here bro 🔥
@kvnxmars2 жыл бұрын
randomly studying on yt 2 hours before the exam :P
@vedantshirpurkar18332 жыл бұрын
And after three years of this comment here I'm doing the same🤣👍 Legacy of engineers bro
@rjstudying Жыл бұрын
@@vedantshirpurkar1833 after 2 months i am also doing the same🥲
@rahi105 жыл бұрын
Thank you so much man, all the other yt videos just go on saying bookish definitions all the time, but your down right 1 on 1 ish language and explanation is so much more easier to understand. Really like the way you do "so if I were to make this change , so and so would happen " and compile&run .
@SimpleSnippets5 жыл бұрын
Thank you so much buddy for such wonderful feedback. This means a lot. I would request you to please share the videos and our channel with your friends too. That's the biggest help and support 🤟✌️
@dgwebdex4 жыл бұрын
The '|' is a pipe, it is used here to connect the different streams together.
@szlobi22763 жыл бұрын
its actually a bitwise operator and it "OR"s two bitfields which are used as a flags internally to specify the behaviour of the filestream operations.
@viveklamba31765 жыл бұрын
You have no idea how helpful rhis is... sometimes while reading from the book....you may get stuck as what is the use of this operation...thankyou so much sir...!!!
@SimpleSnippets5 жыл бұрын
Thanks Vivek for such a positive and kind feedback. I'm really glad to hear this from you and that this video helped you. I would request you to please share the videos with your friends too ✌️
@cate01a4 жыл бұрын
Oh my god you need so little code to read input, create a file, write to a file and then read from a file! That's so awesome! Compared to java, cpp so far is looking damn amazing!
@reevebarreto5 жыл бұрын
Omg this helped me out a lot. I was struggling with it Thanks for explaining mn Keep up the good work
@SimpleSnippets5 жыл бұрын
Most welcome buddy 😁 I would request you to please share the video with your friends too 🤟
@sohamkaralkar66996 жыл бұрын
You explained it like a boss bruh 🔥🔥🔥
@SimpleSnippets6 жыл бұрын
Hey soham, Thank you so much buddy. Really glad to hear this from you. Please do share the video with your friends too. That'll be the best help and support for the channel ✌️😋
@harismasoom66343 жыл бұрын
Love you man due to your video i completed my lab task in 20 mins thank you very much May ALLAH bless you..Ameen
@sabamhabar54574 жыл бұрын
You have been fabulous in describing every single line , thank you for explaining in such a detail. Keep it up
@SimpleSnippets4 жыл бұрын
Thanks a ton 😇 Please subscribe and do share our channel with your friends too. Thats the biggest help and support 😇
@nafisahmed36074 жыл бұрын
Awesome Tanmay. Too good man
@harshgamer56685 жыл бұрын
u know that iostream is a derived class of fstream so if u are including fstream then u dont need to include iostream
@abhishekS14694 жыл бұрын
fstream is subclass of iostream. So we have to include the parent class in program.
@ilovemove14 жыл бұрын
Yeah. Try doing std::cout, std::cin without including iostream.
@paritosh46434 жыл бұрын
@@ilovemove1 you have to use std:: when you have not mentioned that you're using namespace std, not iostream.
@parthmahatungade12104 жыл бұрын
Great and simple vid🔥 that explained me everything I just wanted...thx bruh...👍🏻
@SimpleSnippets4 жыл бұрын
Glad to hear it!
@shahmeernasir18524 жыл бұрын
You're very clear and to the point, thank you very much. Keep up the good work.
@whatsup-t1yАй бұрын
simple, clear, and fast.. What we exactly need.. ❤
@harshaputta5 жыл бұрын
Bro my friend name also Tanmayi she loves your channel and says she is thankful for learning c++ so easily. You also helped me, thank you bro. Cheers
@SimpleSnippets5 жыл бұрын
Thank you so much Harsha for such a wonderful compliment. Most welcome to you and your friend as well. I am glad to hear that my videos helped you. I would request you to please share the videos with your friends too ✌
@criminalcoder63074 жыл бұрын
U r the best ever mentor for anyone to everyone. Please start a series of ds algo questions also.
@stonecold15006 жыл бұрын
Awesome video explains everything in brief.
@SimpleSnippets6 жыл бұрын
Thank you so much buddy. Glad to hear your positive feedback 😊 Please do share the video with your friends and contacts too 😊✌️
@tomasrueda85294 жыл бұрын
aboslutely magnificent explanation
@gsrgsr12625 жыл бұрын
SUPERRRRR BRO. 👌👌FANTASTIC EXPLANATION 👏👏👏watching video a day before exam
@SimpleSnippets5 жыл бұрын
Thank you so much buddy, Please do share the channel with your friends too. Thats the biggest help and support 🙂
@gsrgsr12625 жыл бұрын
@@SimpleSnippets definitely
@ankitapareek4895 жыл бұрын
Very clearly explained ..... Thank you simple snippets for clearing my concepts..
@SimpleSnippets5 жыл бұрын
That's great to know Ankita 😊 please do share the videos and channel with your friends that's the biggest help & support you can provide ✌️
@ankitapareek4895 жыл бұрын
@@SimpleSnippets yeah definitely!
@rumi-boss2 жыл бұрын
In just 16 mins u taught me the whole thing.
@shahrukhal15 жыл бұрын
nice work bro lv u
@SimpleSnippets5 жыл бұрын
Thank you bro 😇 please do share the video with your friends too. That's the biggest help and support you can provide ✌️
@shahrukhal15 жыл бұрын
@@SimpleSnippets thora sa networking pe bhe aoo bro boht need hy
@nirajmalik09102 жыл бұрын
The ending 😂😂 "Peaceee ✌" Lol😂
@moh_idreesmohammadi91184 жыл бұрын
Thank you man for the justification
@SimpleSnippets4 жыл бұрын
Glad you liked it! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@jawaharsoundarapandiyan96873 жыл бұрын
Thank you so much!!!You taught me exactly what I expected for🙏
@iamabdulsami4 жыл бұрын
Great Work, Keep it up.
@SimpleSnippets4 жыл бұрын
Thanks buddy! Please share the videos with your friends if you want to genuinely support me & our channel!✌😇
@iamabdulsami4 жыл бұрын
@@SimpleSnippets Yes why not !
@advitiayanand69906 жыл бұрын
Good job mate. Great explanation.
@SimpleSnippets6 жыл бұрын
Thank you so much buddy. Glad to hear your positive review. Please do share the video with your friends and spread the knowledge 😇
@advitiayanand69906 жыл бұрын
Simple Snippets Certainly. If I may ask, do you guys have a video about the seekg, seekp, tellg and tellp functions? Or perhaps you can provide an explanation in layman terms.
@SimpleSnippets6 жыл бұрын
As of now I don't have a video tutorial on this topic but I'll surely make a video on this. I do have covered almost all the basic concepts in the C++ programming for beginners playlist. Coming to your question, I won't be able to explain in very easy terms in a comment and I'd prefer to show this in a video itself. However in the meantime I have got a website content which seems to give a easy theoretical explanation to these functions
@SimpleSnippets6 жыл бұрын
Here's that web link - enggedu.com/tamilnadu/university_questions/question_answer/be_nd_2007/3rd_sem/cse/cs1204/part_b/13_a_1.html
@advitiayanand69906 жыл бұрын
Simple Snippets Thanks a ton bro.
@shuvamsahoo11305 жыл бұрын
God bless you. Keep up the good work.
@subashithawaththepitiya58754 жыл бұрын
You have done a really good Job. Thank you so much. Keep it up 👍
@SimpleSnippets4 жыл бұрын
Thank you buddy, please do Subscribe to our channel as we have a lot tech educational content which you'll surely like. Also please do share our channel and videos with your friends too, that's the biggest help and support you can provide buddy ✌
@nandini57174 жыл бұрын
Amazing 💯 thankyou so much... you cleared all my doubts
@SimpleSnippets4 жыл бұрын
Glad to hear that
@PintuKumar-yo8vq6 жыл бұрын
Tanmay! u r doing great job by teaching us online.i have to learn DS(data structure) also;i wud be very grateful to u if u could make videos on ds
@SimpleSnippets6 жыл бұрын
Thank you so much bro. And yes I will be starting with DS probably next month because in this month I'm statring with website development from scratch Using HTML CSS JS and bootstrap framework which I'll start from 15-20 Dec. After I finish that mostly it's going to be data structures only 😇✌️
@kavr5 жыл бұрын
Thanks alot ! I didnt understand this in Campus for my assignment but now i do, keep up the good work!!❤️🔥💥😍 SUBSCRIBED😁💜
@SimpleSnippets5 жыл бұрын
Most welcome bro 🤟 very happy to hear this from you 😊
@n_rounder61923 жыл бұрын
I really owe you Your videos helped me in learning the imp programs and understanding them right before my exams thank you 😭😭💜💜💜💜💜
@danishgupta87693 жыл бұрын
best explanation ever seen
@AtulKumar-gi3lv5 жыл бұрын
Nice concept..... understood very well.....so much thanks.....keep uploading useful videos...
@SimpleSnippets5 жыл бұрын
Thanks Atul 😊 there are many more videos on this channel. Please do share it with your friends too 😊✌️
@vamishhh5 жыл бұрын
Bro you frickin saved my ass
@SimpleSnippets5 жыл бұрын
Thank you so much buddy 😊 glad to hear this from you 🤟
@mystify6595 жыл бұрын
The lecture was really awesome and you explained it really well. But i felt the need of explaining the catch block in a bit more detailed manner along with its type and also universal catch block.
@SimpleSnippets5 жыл бұрын
I have a separate video on try catch block all together. Also thank you for the compliments 😇
@kusum5146 жыл бұрын
this was amazing ! esp coz it wasn't boring... some other videos made me sleep but this one's good
@SimpleSnippets6 жыл бұрын
Hehe thank you do much Kusum. Really happy to hear this feedback from you ✌️ Do share the video with your friends too! That'll be great help 🙏✌️
@musicfan16954 жыл бұрын
I have no words for you bro, awesome wonderful amazing superb great work
@musicfan16954 жыл бұрын
and yeah I forwarded it to all my friends, relatives and girlfriends, you need not repeat 😉
@devirajeswari36263 жыл бұрын
Tqs u so much sir...... Super explanation
@arsh13572 жыл бұрын
Talented teacher God bless you
@aishwaryajadhav0Ай бұрын
File is create by constructor function
@animestudent8441 Жыл бұрын
thank you for sharing your great wisdom
@SimpleSnippets Жыл бұрын
You are so welcome
@te_b_52_siddeshpatankar143 жыл бұрын
Awesomeness appreciated 👍🏻👍🏻👍🏻 thanks a lot 💯💯💯
@SimpleSnippets3 жыл бұрын
Thanks Siddhesh, please do share the videos & our channel with your friends too. Thats the biggest help and support you can give back to this channel! 😇
@Utkarshkharb3 жыл бұрын
Very well explained ! Thanks !
@nazifazizi66583 жыл бұрын
Hey, I really enjoyed your tutorial. It helps a lot. Btw do you teach also if someone request?
@SimpleSnippets3 жыл бұрын
Thank you very much. As of now I am not taking any such private coaching opportunities but I do intend to do it in future.
@aarzuna33552 ай бұрын
Thank you very , i did very well today in exam , thanks to you ❤.
@SimpleSnippets2 ай бұрын
Very happy to hear this 😁
@bharathsv83444 жыл бұрын
Don't get confused guys at 7:07 File can be opened in two mode : 1.Constructor - ofstream myfile("xyz.txt" , optional opening modes); OR 2.Open() - myfile.open("xyz.txt" , optional opening modes);
@ainakwalajin1422 Жыл бұрын
Im so done with my teacher yar .... Kal paper hay aur ajj extra class lekar file handling samjha rahay
@Sagarvincent4 жыл бұрын
keep up the goodwork buddy !! :)
@SimpleSnippets4 жыл бұрын
Thanks, will do Sagar! 😇
@shazmasyeda81495 жыл бұрын
Good job great explanation 👌
@SimpleSnippets5 жыл бұрын
Thank you Shazma. Please do share the video with your friends too 😇
@shazmasyeda81495 жыл бұрын
@@SimpleSnippets yea sure buddy
@SimpleSnippets5 жыл бұрын
Thank you 😊
@shazmasyeda81495 жыл бұрын
@@SimpleSnippets ua welcome
@cielfacreate85955 жыл бұрын
I love how you said - "Peace" in the end 😂
@SimpleSnippets5 жыл бұрын
Thank you so much buddy 😉 Well since you made it till the end, I am assuming you liked the video too and not just the peace thing 😅😜
@rahceirambulatao15253 жыл бұрын
nice work buddy
@harshith_takkala4 жыл бұрын
thank you for clear explanation one doubt how to append the text in separate lines... and how to get the text in the txt file as output when appended line by line
@Zephyr-tg9hu5 жыл бұрын
Would you recommend using C++ streams over C style IO all the time? I've seen people use the latter in many cases, and I've always been confused as to why.
@codingera51362 жыл бұрын
Thankyou you have described great
@mohnish.deshpande4 жыл бұрын
You are great !!!!
@mjfanankit6 жыл бұрын
Amazing explanation
@SimpleSnippets6 жыл бұрын
Thank you so much Ankit. Really happy to hear this from you 😇❤️
@karthikvishnuek53456 жыл бұрын
Clearly Explained Dude......😘💝
@SimpleSnippets6 жыл бұрын
THank you so much Karthik. Really happy to hear this from you. Please do share the video with your friends too. 😇✌
@shuvamsahoo11305 жыл бұрын
Cool brother 😍😍😍😍
@SimpleSnippets5 жыл бұрын
Thanks bro 😊✌️ please do share it with your friends 😊
@shuvamsahoo11305 жыл бұрын
@@SimpleSnippets I am sharing your brother please do check out and share mine kzbin.info/www/bejne/opizfqGYZZifjqc
@SimpleSnippets5 жыл бұрын
Wow just checked your channel. You have amazing Talent Shuvam. keep up the great work and share your creativity ✌
@HarrysSecretWife7 жыл бұрын
This was so helpful! Thanks for this.
@SimpleSnippets7 жыл бұрын
+sammy hello, you're welcome. Is great to hear you positive response. Do share the video when your friends and contacts ✌️😇
@Gandhiboy4 жыл бұрын
Thank you so much ❤️
@SimpleSnippets4 жыл бұрын
Any time!
@kalpanarajput50176 жыл бұрын
Best .explaination in vry short period of tym
@SimpleSnippets6 жыл бұрын
Thank you so much buddy. Please do share the video with your friends too 🙏😇
@anshparashar67604 жыл бұрын
Hey just a random question, that your took array size 100 randomly for more than enough memory space for our task. But I didn't understand how the arrays is being filled when we're giving the input in line? Out of curiosity I changed the array size to 3 and tried giving input as "axe" but only 2 characters were saved. So why is it saving one less than the size declared? Also it is not that "tanmay 21 " is one entry for the array, instead 8 entries or 9 entries if space is also counted. So what should be the minimum size of the character array for the entry "tanmay 21"?
@MahSomething3 жыл бұрын
ifstream and ofstream are inherited from fstream, not fstream been derived from if and of streams. Great video
@ankishgupta15174 жыл бұрын
Hey, u first have said that fstream is a class then u said that it acts as a datatype... What does that mean ??? ... .. Secondly if myfile is a constructor, then “xyz.txt ” is argument ??? .. .. Plz answer...btw u r going an amazing work...keep going buddy ..💟
@mayankpm94173 жыл бұрын
Thank You!
@SimpleSnippets3 жыл бұрын
You're welcome! Please do share the videos and channel with your friends too. Thats the biggest help and support you can give!
@mayankpm94173 жыл бұрын
@@SimpleSnippets yes I will!
@rahulgandla17014 жыл бұрын
In your theory article, you have given some more things which are also in my Textbook and you haven't explained those things like the binary file handling. I had to see another video on KZbin for that.
@nandithar72894 жыл бұрын
thank you so muchhhh!!!!
@SimpleSnippets4 жыл бұрын
You're welcome!
@ursula57702 жыл бұрын
Great video sir. I only have one question, how do I make it so that the .txt file contents have a space every time the program is ran? For example: If I run it twice and have the text file content as "SimpleSnippets" I want it to become Simple Snippets not SimpleSnippets. Thank you so much!
@blackalpha9632 жыл бұрын
u can use loops by using i as infinite number of lines ..........
@hareemfatima97704 жыл бұрын
really like this video👍
@dikshak.97945 жыл бұрын
Thnx u really helped me in my assignment 😊😊👍👍
@SimpleSnippets5 жыл бұрын
Most welcome Diksha. Glad to hear this. I would request you to please share the video with your friends too 😁✌️
@dikshak.97945 жыл бұрын
For sure😊
@SimpleSnippets5 жыл бұрын
@@dikshak.9794 thank you Diksha 😊✌️
@cknhd4 жыл бұрын
really good, helpful .... 👍
@SimpleSnippets4 жыл бұрын
Glad it was helpful!
@cknhd4 жыл бұрын
@@SimpleSnippets yes 🙂
@wasifhasssn87092 жыл бұрын
my note pad still empty nothing recorded there. i don't know the reason why?
@priya-de1vd2 жыл бұрын
Mine also
@Whothehell1997 ай бұрын
Useful 🔥 ❤
@aslamjan34103 жыл бұрын
Great man👍
@rasikadhande7056 жыл бұрын
Thank you so much.. great explaination
@SimpleSnippets6 жыл бұрын
Thank you so much buddy. Glad to hear this from you. Do share the video with your friends and contacts too. That'll be the best support 😇 Also I just noticed, even you have your own youtube channel which has Chemistry related content. Thats so cool ✌
@chenchaiahpuram92365 жыл бұрын
ultimate bro
@SimpleSnippets5 жыл бұрын
Thanks bro 😁✌️ please share 😊
@TrushSeeker224 жыл бұрын
You are awesome thank you
@SimpleSnippets4 жыл бұрын
Thank you buddy, please do Subscribe to our channel as we have a lot tech educational content which you'll surely like. Also please do share our channel and videos with your friends too, that's the biggest help and support you can provide buddy ✌
@ADARSHKUMAR-fd6oc5 жыл бұрын
Too good bro 😮😮😮😮
@SimpleSnippets5 жыл бұрын
Thanks Adarsh 😊 please do share the video with your friends too 😊
@zamzamsheikh62825 жыл бұрын
You made CS the most easiest sub....thnx...
@SimpleSnippets5 жыл бұрын
Thanks buddy! I am glad to hear this from you 😇 Please do share this video with your friends too & definitely subscribe to this channel 😇
@aadithyarajangam375 жыл бұрын
thank you for good videos
@SimpleSnippets5 жыл бұрын
Most welcome buddy 🤟 I would request you to please share the videos with your friends too ✌️😊
@aadithyarajangam375 жыл бұрын
@@SimpleSnippets Sure Bro
@atiquekhan77605 жыл бұрын
Thank you so much sir .
@SimpleSnippets5 жыл бұрын
Most welcome buddy, glad to hear this from you. Please do share the videos with your friends too 😇
@hat_awesome215 жыл бұрын
you told that " classes are user defines data types" then what is structure? what is difference between structure and class?
@SimpleSnippets5 жыл бұрын
Data members in structures are public by default and in classes they are private by default 😇
@rukna37754 жыл бұрын
@@SimpleSnippets Ur right, and in addition to that struct is only available in c, but classes are built on top of structs in c++
@amolpathakndb4 жыл бұрын
Structures dont include methods (functions) bt classes can..
@sanjayagarwal20955 жыл бұрын
Will it have the same programming in turbo c++ ?
@SimpleSnippets5 жыл бұрын
Yes pretty much ✌️
@sanjayagarwal20955 жыл бұрын
Thanks
@alangirish33087 жыл бұрын
You are such a good tutor..... Loved it
@SimpleSnippets7 жыл бұрын
+Alan Girish wow, thank you so much for such a wonderful comment buddy. You really made my day 😊 Do share the videos with your friends and contacts and keep sharing the knowledge. Also do follow our insta page as I have put your comment as a story 😇
@alangirish33087 жыл бұрын
Yea mate i will follow your insta page Is the username same as your channel's name??
@SimpleSnippets7 жыл бұрын
Yup - instagram.com/simplesnippets/
@ketanparekh34785 жыл бұрын
thank you.
@SimpleSnippets5 жыл бұрын
Most welcome buddy 😬
@umarmukhtarvlogs499 ай бұрын
Believe me its informational, not old😮
@ElifArslan-l9g3 жыл бұрын
thank you so much you are the best
@mohsin22113 жыл бұрын
I did the same process but my file is not created on same location and I can't be able to find where is my file
@sethumathavandcs27055 жыл бұрын
Awesome initiative bro!!!! cout
@SimpleSnippets5 жыл бұрын
Thank you buddy, really appreciate this kind feedback. Please do share the videos with your friends too, Thats the biggest help and support for our channel 😇
@hat_awesome215 жыл бұрын
similarly can you take class on java , i love the way u teach
@SimpleSnippets5 жыл бұрын
Hello I already have core java programming tutorials on this channel, just check the playlists buddy 😇 And thank you so much for the compliments ✌
@alishbakhan6644 жыл бұрын
I feel like you saved my life xD thank youuuuuu ,God bless you *_*
@SimpleSnippets4 жыл бұрын
Thank you so much Alishba🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@jamesnash96752 жыл бұрын
you are the best........masum
@parmeetkaur92215 жыл бұрын
Great explanation...please make videos on linear and binary search.
@SimpleSnippets5 жыл бұрын
Thanks bro. Yes I will soon cover those topics in our on going Data structures and algorithms topic 😊
@parmeetkaur92215 жыл бұрын
@@SimpleSnippets Thanku sir!!
@SimpleSnippets5 жыл бұрын
Most welcome buddy 😊
@antoprincy31895 жыл бұрын
Sir, Is this Reading and manipulation of text from an already existing file(accessing sequentially)?