I cant not thank you enough for this simple, organised, precise and very helpfull explanation. This was the first of your videos that i whatched and my guess is that i will be watching all your videos and putting thumbs up everywhere. Please continue with your good work. Thank you.
@maxodidily6 жыл бұрын
Thanks a lot for your kind words, they make producing these tutorials worth it! I hope you find my other videos just as helpful.
@namanmehndiratta96165 жыл бұрын
I've legitimately never commented on a youtube video before, but this video is worth commenting on. Keep up the amazing work! Also, a note for those who might want to use this for a spreadsheet: use the file ext .csv instead of .txt and you can directly write to a spreadsheet.
@MrBoatsrule5 жыл бұрын
Mate, it is 4:08am right now for me and this was the last thing I needed to do for my code. It finally compiled just now. Let's hope it runs how I want.
@DanielH212MC3 жыл бұрын
3:51am for me lmao
@sebalas262 жыл бұрын
Niceee ❤️
@overlordseniukas1814 жыл бұрын
thx mate youre genius and now you have one more subscriber
@bubkool90963 жыл бұрын
Thanks you're a lifesaver
@danielstoica13312 жыл бұрын
Well done, Manny Thanks!
@jughnnneeelll3 жыл бұрын
thankkk you very much for this sirrr but how abouttt like this with log in register sir?
@sampadafutane13054 жыл бұрын
Thanks buddy From INDIA
@MuhammadBilal-ql6nx4 жыл бұрын
Good Explanation
@clashwithtim745 жыл бұрын
Clear message. thumbs
@ceylonlife6 жыл бұрын
This is very help full. Thank you very much for uploading this video//\!
@maxodidily6 жыл бұрын
Thanks a lot for the positive feedback, it made my day!
@balajialagarsamy33882 жыл бұрын
Hi... How to pass on a string with crlf characters to the CSV column?
@mailischaffer54462 жыл бұрын
What file do you save it at
@weezyarts68584 жыл бұрын
How did you add the data without even using the data in the recordSave parameter.
@ghattassaliba4910 Жыл бұрын
thank you!
@brunocardoso82775 жыл бұрын
Thank you!! it helped a lot!!
@skgeddha32072 жыл бұрын
make a video on "mysql to csv" and "csv to mysql" using java
@vestares16 жыл бұрын
Love you Mate :)
@michaelshelton98883 жыл бұрын
Hey man, thanks for the tutorial! Just a heads up about something, at 51 seconds one of your buds on discord pops up bottom right and the name might be a little off putting to some! Just wanted to let you know. Thanks for the instructional videos though!
@maxodidily3 жыл бұрын
Thanks for the heads up! You are the first one to point that out to me.
@V0iDWALK3R_5 жыл бұрын
Thank you so much for this video, your explanations where really clear, concise and understandable. Subscribing!
@Derekstefan4 жыл бұрын
How would you do this with user input?
@محمودامیریکیا2 жыл бұрын
Thanks
@slonbeskonechen83105 жыл бұрын
Good job! Thank you!
@1991Caligula6 жыл бұрын
First of all, thank you for great tutorial. I have a question. Why did u use BufferedWriter and PrintWriter class, why u didnt use only one?
@limji-siang64965 жыл бұрын
How to avoid duplicates in the txt files when writing into the files?. For example, i wouldnt want to have name "bob" twice in the txt file
@mustaphaELHOURA4 жыл бұрын
Thank you so much
@gustavvingtoft23626 жыл бұрын
Awesome video, one question though: If you pause at 10:11 and look at line 30: What is that? A constructor? I'm a bit confused. Cheers.
@maxodidily6 жыл бұрын
Line 30 is me calling the saveRecord method we created. When I call this method, it will execute the code in the saveRecord method we created a few lines underneath. The variables separated by commas inside the method call are parameters as we want to use those values when reading a record.
@alteredsanta61284 жыл бұрын
DUDE, ITS 3:20 AM. I was searching for such tutorial probs for over 3 hours, cuz website aren't helpful and some guys examples just didnt work for me. I hope u get as much luck as u wish )
@RomanticPopPunk7 жыл бұрын
Thanks man. Short and simple!
@maxodidily7 жыл бұрын
Thanks for your kind words, it made my day!
@annishao36334 жыл бұрын
So it's not necessary to close FileWriter and BufferedWriter?
@maxodidily4 жыл бұрын
You should.
@farizsamanha60516 жыл бұрын
where did the file save to?
@maxodidily6 жыл бұрын
Should be saved to your Java project folder unless you specified otherwise.
@farizsamanha60516 жыл бұрын
@@maxodidily thanks, solved
@גילעדשטרוזמן5 жыл бұрын
thank you very much!!!
@dildojones93646 жыл бұрын
you are god
@junaidabdool33084 жыл бұрын
How can i add a header ??
@maxodidily4 жыл бұрын
Make the first record you add the titles for each field, in this case it would be ID, Name, Age.
@einhengst25253 жыл бұрын
Hi, it is a wrong title, isn't it? I watched the whole Video and just at the end I was shocked, because no csv file was written, but a txt.
@maxodidily3 жыл бұрын
Change the file extension to '.csv' instead of '.txt'.
@cate01a3 жыл бұрын
no, you are writing to a text file but using the csv data format
@yasminzamrin4 жыл бұрын
can someone tell me why when i save it into my csv its saved as a,b,c ,d instead of a,b,c,d
@maxodidily4 жыл бұрын
Could you send me your code via hastebin please?
@yasminzamrin4 жыл бұрын
@@maxodidily oh and for context i'm basically trying to search a menu csv file for an item and if the item is found it would be written into an order csv file
@maxodidily4 жыл бұрын
@@yasminzamrin Right, I've just tested your code and I am not encountering the issue. What are you passing into your saveOrder() method?
@yasminzamrin4 жыл бұрын
@@maxodidily well I was trying to search an existing csv file with its unique code and if it exists to write it into another csv file along with some other user inputs so thats what i was passing into the saveOrder. But I managef to solve the problem by using a buffered reader rather than a scanner when searching the csv file. I was told it was better practice?
@maxodidily4 жыл бұрын
I'm glad you fixed the issue. Both Scanner and BufferedReader have their uses. For reading line by line, BufferedReader is more effective. This tutorial was aimed at A-Level students with the goal of helping them remember what is needed for the practical exam, most were more aware of Scanner from getting console input and that's why I went with it.
@wanggyalsherpa6107 жыл бұрын
Can i use .csv extension?
@maxodidily7 жыл бұрын
I see no issue with using that extension.
@onwun42926 жыл бұрын
That's a txt file. Is txt and csv the same thing?
@maxodidily6 жыл бұрын
A CSV file limits you to only having commas to separate files, it can be a pain if your data has commas. a txt file can store any text you want and you can use any delimiter (a form of separating values). We interact with a txt and csv in the same way for what we are doing in this video. There is more too it but I feel the information he is sufficient. Hope this helps!
@onwun42926 жыл бұрын
Oh thank you but I don't understand completely. I am actually building a bank website and trying to create a function that allows users to download their accounts statements in csv. Does that mean I can just insert datas into a txt file instead?
@maxodidily6 жыл бұрын
As long as each piece of data is separated by a comma, you could use a txt file instead and your code should work in exactly the same way.