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 ✌
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
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 .
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 🤟✌️
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...!!!
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 ✌️
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 ✌
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!
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 ✌️😋
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.
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.
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
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
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 😇✌️
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.
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 ✌
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 ..💟
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! 😇
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"?
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!
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 ✌
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 ✌
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);
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 😇
Hey Purva, I've already made a playlist on core java buddy ✌️ here's the full link - th-cam.com/play/PLIY8eNdw5tW_uaJgi-FL9QwINS9JxKKg2.html Also there's a lot more on the channel so please do check it out I'm sure you'll like it 😊
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 😇
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 TH-cam for that.
+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 😇
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 ✌
ok
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
You simply Marvelous❤️
randomly studying on yt 1 day before exam .... :P
Hahaha this is exactly what I used to do 😉
Same here bro 🔥
randomly studying on yt 2 hours before the exam :P
And after three years of this comment here I'm doing the same🤣👍
Legacy of engineers bro
@@vedantshirpurkar1833 after 2 months i am also doing the same🥲
Best subscription request ever! It came out of nowhere and just had to hit subscribe the moment you mentioned it. Great video, never stop.
Thank you so much buddy 😊 glad to hear this from you ✌️ and yes surely will keep putting out more content on the channel 😊
@@SimpleSnippets You havent used ios::in ....
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
The '|' is a pipe, it is used here to connect the different streams together.
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.
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 .
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 🤟✌️
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...!!!
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 ✌️
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
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 ✌
Love you man due to your video i completed my lab task in 20 mins thank you very much
May ALLAH bless you..Ameen
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!
In just 16 mins u taught me the whole thing.
Omg this helped me out a lot.
I was struggling with it
Thanks for explaining mn
Keep up the good work
Most welcome buddy 😁 I would request you to please share the video with your friends too 🤟
You explained it like a boss bruh 🔥🔥🔥
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 ✌️😋
u know that iostream is a derived class of fstream
so if u are including fstream then u dont need to include iostream
fstream is subclass of iostream. So we have to include the parent class in program.
Yeah. Try doing std::cout, std::cin without including iostream.
@@ilovemove1
you have to use std:: when you have not mentioned that you're using namespace std, not iostream.
SUPERRRRR BRO.
👌👌FANTASTIC EXPLANATION 👏👏👏watching video a day before exam
Thank you so much buddy, Please do share the channel with your friends too. Thats the biggest help and support 🙂
@@SimpleSnippets definitely
Great and simple vid🔥 that explained me everything I just wanted...thx bruh...👍🏻
Glad to hear it!
You have been fabulous in describing every single line , thank you for explaining in such a detail.
Keep it up
Thanks a ton 😇 Please subscribe and do share our channel with your friends too. Thats the biggest help and support 😇
Very clearly explained ..... Thank you simple snippets for clearing my concepts..
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 ✌️
@@SimpleSnippets yeah definitely!
Awesome video explains everything in brief.
Thank you so much buddy. Glad to hear your positive feedback 😊
Please do share the video with your friends and contacts too 😊✌️
Awesome Tanmay. Too good man
aboslutely magnificent explanation
Nice concept..... understood very well.....so much thanks.....keep uploading useful videos...
Thanks Atul 😊 there are many more videos on this channel. Please do share it with your friends too 😊✌️
You're very clear and to the point, thank you very much. Keep up the good work.
Im so done with my teacher yar .... Kal paper hay aur ajj extra class lekar file handling samjha rahay
Great Work, Keep it up.
Thanks buddy! Please share the videos with your friends if you want to genuinely support me & our channel!✌😇
@@SimpleSnippets
Yes why not !
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.
U r the best ever mentor for anyone to everyone.
Please start a series of ds algo questions also.
Amazing 💯 thankyou so much... you cleared all my doubts
Glad to hear that
Thank you man for the justification
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 😇
best explanation ever seen
Good job mate. Great explanation.
Thank you so much buddy. Glad to hear your positive review. Please do share the video with your friends and spread the knowledge 😇
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.
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
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
Simple Snippets Thanks a ton bro.
Hey, I really enjoyed your tutorial. It helps a lot. Btw do you teach also if someone request?
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.
nice work bro lv u
Thank you bro 😇 please do share the video with your friends too. That's the biggest help and support you can provide ✌️
@@SimpleSnippets thora sa networking pe bhe aoo bro boht need hy
Tqs u so much sir...... Super explanation
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
Thanks alot ! I didnt understand this in Campus for my assignment but now i do, keep up the good work!!❤️🔥💥😍 SUBSCRIBED😁💜
Most welcome bro 🤟 very happy to hear this from you 😊
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
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 😇✌️
Thank you so much!!!You taught me exactly what I expected for🙏
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.
I have a separate video on try catch block all together. Also thank you for the compliments 😇
You have done a really good Job. Thank you so much. Keep it up 👍
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 ✌
God bless you. Keep up the good work.
Talented teacher God bless you
Thank you very , i did very well today in exam , thanks to you ❤.
Very happy to hear this 😁
I have no words for you bro, awesome wonderful amazing superb great work
and yeah I forwarded it to all my friends, relatives and girlfriends, you need not repeat 😉
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 ..💟
this was amazing ! esp coz it wasn't boring... some other videos made me sleep but this one's good
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 🙏✌️
Very well explained ! Thanks !
The ending 😂😂
"Peaceee ✌" Lol😂
Good job great explanation 👌
Thank you Shazma. Please do share the video with your friends too 😇
@@SimpleSnippets yea sure buddy
Thank you 😊
@@SimpleSnippets ua welcome
thank you for sharing your great wisdom
You are so welcome
Awesomeness appreciated 👍🏻👍🏻👍🏻 thanks a lot 💯💯💯
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! 😇
I really owe you
Your videos helped me in learning the imp programs and understanding them right before my exams thank you 😭😭💜💜💜💜💜
You made CS the most easiest sub....thnx...
Thanks buddy! I am glad to hear this from you 😇 Please do share this video with your friends too & definitely subscribe to this channel 😇
nice work buddy
Best .explaination in vry short period of tym
Thank you so much buddy. Please do share the video with your friends too 🙏😇
You are great !!!!
Amazing explanation
Thank you so much Ankit. Really happy to hear this from you 😇❤️
Clearly Explained Dude......😘💝
THank you so much Karthik. Really happy to hear this from you. Please do share the video with your friends too. 😇✌
really like this video👍
Bro you frickin saved my ass
Thank you so much buddy 😊 glad to hear this from you 🤟
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"?
Believe me its informational, not old😮
you are the best........masum
keep up the goodwork buddy !! :)
Thanks, will do Sagar! 😇
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!
u can use loops
by using i as infinite number of lines ..........
Thankyou you have described great
This was so helpful! Thanks for this.
+sammy hello, you're welcome. Is great to hear you positive response. Do share the video when your friends and contacts ✌️😇
Cool brother 😍😍😍😍
Thanks bro 😊✌️ please do share it with your friends 😊
@@SimpleSnippets I am sharing your brother please do check out and share mine
th-cam.com/video/lgPMnb03lXE/w-d-xo.html
Wow just checked your channel. You have amazing Talent Shuvam. keep up the great work and share your creativity ✌
Watching this video before exam 😂 may it help me.....
Just another file streaming without explaining how to determine the file type before attempting to stream it
really good, helpful .... 👍
Glad it was helpful!
@@SimpleSnippets yes 🙂
you told that
" classes are user defines data types" then what is structure? what is difference between structure and class?
Data members in structures are public by default and in classes they are private by default 😇
@@SimpleSnippets Ur right, and in addition to that struct is only available in c, but classes are built on top of structs in c++
Structures dont include methods (functions) bt classes can..
Thnx u really helped me in my assignment 😊😊👍👍
Most welcome Diksha. Glad to hear this. I would request you to please share the video with your friends too 😁✌️
For sure😊
@@dikshak.9794 thank you Diksha 😊✌️
I love how you said - "Peace" in the end 😂
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 😅😜
thank you for good videos
Most welcome buddy 🤟 I would request you to please share the videos with your friends too ✌️😊
@@SimpleSnippets Sure Bro
Thank you so much.. great explaination
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 ✌
Thank you so much ❤️
Any time!
Too good bro
😮😮😮😮
Thanks Adarsh 😊 please do share the video with your friends too 😊
Sir, Is this Reading and manipulation of text from an already existing file(accessing sequentially)?
Yes ✌️
You are awesome thank you
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 ✌
ifstream and ofstream are inherited from fstream, not fstream been derived from if and of streams. Great video
Useful 🔥 ❤
Thank You!
You're welcome! Please do share the videos and channel with your friends too. Thats the biggest help and support you can give!
@@SimpleSnippets yes I will!
thank you so muchhhh!!!!
You're welcome!
similarly can you take class on java , i love the way u teach
Hello I already have core java programming tutorials on this channel, just check the playlists buddy 😇
And thank you so much for the compliments ✌
ultimate bro
Thanks bro 😁✌️ please share 😊
MashaAllah very fluent speaking ...admirable
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 ✌️
Will it have the same programming in turbo c++ ?
Yes pretty much ✌️
Thanks
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);
Awesome initiative bro!!!! cout
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 😇
Thank you so much sir .
Most welcome buddy, glad to hear this from you. Please do share the videos with your friends too 😇
thank you.
Most welcome buddy 😬
Great explanation...please make videos on linear and binary search.
Thanks bro. Yes I will soon cover those topics in our on going Data structures and algorithms topic 😊
@@SimpleSnippets Thanku sir!!
Most welcome buddy 😊
thank you so much you are the best
Great man👍
Hello , I have question. Im stuck in here
cout
Please make videos on java,If you can.Your explaination is great...
Hey Purva, I've already made a playlist on core java buddy ✌️ here's the full link - th-cam.com/play/PLIY8eNdw5tW_uaJgi-FL9QwINS9JxKKg2.html
Also there's a lot more on the channel so please do check it out I'm sure you'll like it 😊
Excellent ..
@@purvapawar6843 do turn on the notifications for this channel if you have subscribed cause a surprise news is coming soon for all the subscribers 😋
I feel like you saved my life xD thank youuuuuu ,God bless you *_*
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 😇
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 TH-cam for that.
You are such a good tutor..... Loved it
+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 😇
Yea mate i will follow your insta page
Is the username same as your channel's name??
Yup - instagram.com/simplesnippets/