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 ✌
@atiquekhan77604 жыл бұрын
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❤️
@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
@vedantshirpurkar1833 Жыл бұрын
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🥲
@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 😊
@adnanaman4391Ай бұрын
@@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
@dgwebdex3 жыл бұрын
The '|' is a pipe, it is used here to connect the different streams together.
@szlobi22762 жыл бұрын
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.
@rahi104 жыл бұрын
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 .
@SimpleSnippets4 жыл бұрын
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 🤟✌️
@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 ✌️
@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 ✌
@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
@cate01a3 жыл бұрын
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 ✌️😋
@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.
@ilovemove13 жыл бұрын
Yeah. Try doing std::cout, std::cin without including iostream.
@paritosh46433 жыл бұрын
@@ilovemove1 you have to use std:: when you have not mentioned that you're using namespace std, not iostream.
@parthmahatungade12103 жыл бұрын
Great and simple vid🔥 that explained me everything I just wanted...thx bruh...👍🏻
@SimpleSnippets3 жыл бұрын
Glad to hear it!
@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 😇
@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!
@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 🙂
@gsrgsr12624 жыл бұрын
@@SimpleSnippets definitely
@shahmeernasir18524 жыл бұрын
You're very clear and to the point, thank you very much. Keep up the good work.
@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 😊✌️
@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 😊✌️
@rumi-boss2 жыл бұрын
In just 16 mins u taught me the whole thing.
@jawaharsoundarapandiyan96873 жыл бұрын
Thank you so much!!!You taught me exactly what I expected for🙏
@nandini57173 жыл бұрын
Amazing 💯 thankyou so much... you cleared all my doubts
@SimpleSnippets3 жыл бұрын
Glad to hear that
@nafisahmed36073 жыл бұрын
Awesome Tanmay. Too good man
@criminalcoder63074 жыл бұрын
U r the best ever mentor for anyone to everyone. Please start a series of ds algo questions also.
@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.
@tomasrueda85293 жыл бұрын
aboslutely magnificent explanation
@n_rounder61923 жыл бұрын
I really owe you Your videos helped me in learning the imp programs and understanding them right before my exams thank you 😭😭💜💜💜💜💜
@aarzuna335517 сағат бұрын
Thank you very , i did very well today in exam , thanks to you ❤.
@SimpleSnippets17 сағат бұрын
Very happy to hear this 😁
@devirajeswari36263 жыл бұрын
Tqs u so much sir...... Super explanation
@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 😊
@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 😇✌️
@mystify6594 жыл бұрын
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.
@SimpleSnippets4 жыл бұрын
I have a separate video on try catch block all together. Also thank you for the compliments 😇
@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 ✌
@ainakwalajin1422 Жыл бұрын
Im so done with my teacher yar .... Kal paper hay aur ajj extra class lekar file handling samjha rahay
@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
@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.
@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 ..💟
@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
@arsh1357 Жыл бұрын
Talented teacher God bless you
@moh_idreesmohammadi91183 жыл бұрын
Thank you man for the justification
@SimpleSnippets3 жыл бұрын
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 😇
@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 !
@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! 😇
@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 😉
@shuvamsahoo11305 жыл бұрын
God bless you. Keep up the good work.
@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.
@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 🙏✌️
@animestudent8441 Жыл бұрын
thank you for sharing your great wisdom
@SimpleSnippets Жыл бұрын
You are so welcome
@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"?
@Utkarshkharb3 жыл бұрын
Very well explained ! Thanks !
@nirajmalik0910 Жыл бұрын
The ending 😂😂 "Peaceee ✌" Lol😂
@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
@beacasandradelacruz3603 жыл бұрын
Hello , I have question. Im stuck in here cout
@danishgupta87693 жыл бұрын
best explanation ever seen
@umarmukhtarvlogs496 ай бұрын
Believe me its informational, not old😮
@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 ..........
@codingera51362 жыл бұрын
Thankyou you have described great
@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..
@MahSomething3 жыл бұрын
ifstream and ofstream are inherited from fstream, not fstream been derived from if and of streams. Great video
@kalpanarajput50176 жыл бұрын
Best .explaination in vry short period of tym
@SimpleSnippets6 жыл бұрын
Thank you so much buddy. Please do share the video with your friends too 🙏😇
@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.
@sanjayagarwal20955 жыл бұрын
Will it have the same programming in turbo c++ ?
@SimpleSnippets5 жыл бұрын
Yes pretty much ✌️
@sanjayagarwal20955 жыл бұрын
Thanks
@wasifhasssn87092 жыл бұрын
my note pad still empty nothing recorded there. i don't know the reason why?
@priya-de1vd2 жыл бұрын
Mine also
@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);
@muhammadshahwaizakram80462 жыл бұрын
Watching this video before exam 😂 may it help me.....
@SuperChannel212 жыл бұрын
Just another file streaming without explaining how to determine the file type before attempting to stream it
@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
@antoprincy31895 жыл бұрын
Sir, Is this Reading and manipulation of text from an already existing file(accessing sequentially)?
@SimpleSnippets5 жыл бұрын
Yes ✌️
@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 ✌
@dennisschnapka91484 жыл бұрын
So I can only read files with ... .txt but how can i read e.g. word documents?
@hseng6815 жыл бұрын
I successfully save the data in the file but if i run the program the second input will be on the same line. So can i know the way to let the second input display at the another line? Where should i put the endl in the program?
@vamishhh5 жыл бұрын
Bro you frickin saved my ass
@SimpleSnippets5 жыл бұрын
Thank you so much buddy 😊 glad to hear this from you 🤟
@pranav-kale3 жыл бұрын
Is it necessary to write ios::app(are there any other variables of objects that clashes with ios::app...)
@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 😊✌️
@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 ✌
@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 😇
@sethumathavandcs27054 жыл бұрын
Awesome initiative bro!!!! cout
@SimpleSnippets4 жыл бұрын
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 😇
@purvapawar68435 жыл бұрын
Please make videos on java,If you can.Your explaination is great...
@SimpleSnippets5 жыл бұрын
Hey Purva, I've already made a playlist on core java buddy ✌️ here's the full link - kzbin.info/aero/PLIY8eNdw5tW_uaJgi-FL9QwINS9JxKKg2 Also there's a lot more on the channel so please do check it out I'm sure you'll like it 😊
@purvapawar68435 жыл бұрын
Excellent ..
@SimpleSnippets5 жыл бұрын
@@purvapawar6843 do turn on the notifications for this channel if you have subscribed cause a surprise news is coming soon for all the subscribers 😋
@mohnish.deshpande3 жыл бұрын
You are great !!!!
@durgeshwarisahu10355 жыл бұрын
''File handling with multiple objects" Please answer this question
@ayushmaangupta59564 жыл бұрын
Give example of binary files too...
@Shayankhan-q8f3 жыл бұрын
Playlist in available of file handling lectures?
@jagdishannepu71792 жыл бұрын
How can I access/create files with a location other than that of the exe. file?
@saikumar23853 жыл бұрын
what is the need to close the file, the program is running even without closing the file(line 15)?
@saikumar23853 жыл бұрын
what is the need of reading the file? I didn't really get it.
@aniketsaini19324 жыл бұрын
Excellent bro can you explain difference between getline() and get() I'm confused...
@SimpleSnippets4 жыл бұрын
Check this - stackoverflow.com/questions/26873401/difference-between-cin-get-and-cin-getline#:~:text=The%20getline()%20function%20reads,character%20in%20the%20input%20queue.
@manisha97423 жыл бұрын
Hi ji ..... for me file read is not working ..... can you reply please
@shadabahmed19253 жыл бұрын
Why you took the length of array 100?
@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 😊
@cknhd4 жыл бұрын
really good, helpful .... 👍
@SimpleSnippets4 жыл бұрын
Glad it was helpful!
@cknhd4 жыл бұрын
@@SimpleSnippets yes 🙂
@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. 😇✌
@soniaasghar10946 жыл бұрын
MashaAllah very fluent speaking ...admirable
@SimpleSnippets6 жыл бұрын
Thank you so much for such a wonderful compliment 😇 happy to hear this from you. Do share the video with your friends and contacts too ✌️
@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 ✌️😇
@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!
@vasusati92685 жыл бұрын
Thanks sir Why didn't my friend tell me about your channel till now
@SimpleSnippets5 жыл бұрын
Most welcome buddy. I am glad you liked this video. And yes you can share this video with your friends too so that even they get to know about this channel. I am sure it will be helpful for them too 😇✌
@ketanparekh34785 жыл бұрын
thank you.
@SimpleSnippets5 жыл бұрын
Most welcome buddy 😬
@Gandhiboy4 жыл бұрын
Thank you so much ❤️
@SimpleSnippets4 жыл бұрын
Any time!
@sdeBack14 жыл бұрын
How check that my file is open or not? Any one please tell me about this
@mjfanankit6 жыл бұрын
Amazing explanation
@SimpleSnippets6 жыл бұрын
Thank you so much Ankit. Really happy to hear this from you 😇❤️