What if your strings in the CSV-file is quoted, and the strings contains commas and even escaped quotes?
@Artimichette5 ай бұрын
Thank you for this great video, it is very hands on
@mayngame435 ай бұрын
Continue 0:11
@junjieyue72815 ай бұрын
hi! sometimes I also see const key word before the function like "const string getFirstName()", what does it mean? and what is the different between const key word before and after the function?
@BeginningProgrammer5 ай бұрын
honestly... I am not familiar with that usage.
@sunwookim30046 ай бұрын
thank you!
@kushalreddy98307 ай бұрын
I dont usually comment, but this video is exactly what I need for one of my assignments, I was so lost with the implementation of vectors and you helped me on the dot.
@RealStalin7 ай бұрын
Thanks!
@CleópatraSantos-s3f7 ай бұрын
Thank you , great video!
@anthonybasooma9 ай бұрын
great logic ❤❤❤❤❤
@marcusp.75129 ай бұрын
In the era of chatgpt your video is the only thing giving me clarity for my final school project, you the GOAT thank you
@WDS-x1j10 ай бұрын
Very cool.. Thanks for sharing.
@BeginningProgrammer10 ай бұрын
Thank you.
@chrispeele374610 ай бұрын
Awesome stuff man!
@y.x347611 ай бұрын
great video!!
@Lik05Hakinen11 ай бұрын
Would it be better practice to use vector instead of pointer for value?
@BeginningProgrammer10 ай бұрын
if you can use vector it's better. But how do you use a vector if there is not vector.. In other words strings predate vectors. But yes in general if you can use a vector instead of dynamic arrays that is a better option.
@AjayMASham Жыл бұрын
Can you explain by displaying with an examples
@AjayMASham Жыл бұрын
Sir how to implemente of c code
@defuzeSHORTS Жыл бұрын
FYI: you can do stoi(std::string) instead of atoi(std::string::c_str())
@defuzeSHORTS Жыл бұрын
stoi for integers stod for doubles stof for floats
@jusperkato945 Жыл бұрын
Am not seeing the code or link to code
@BeginningProgrammer Жыл бұрын
it's in the video description code gist.github.com/fernandozamor...
@danielachim6761 Жыл бұрын
how i do it for multiple csv files like 10-20 ? and like put it in one place all ?
@marc-andrebrun8942 Жыл бұрын
i think C++ is not meant for this kind of job: in pure C, using strtok() or fscanf() it's more concise & cristal clear; this C++ code here is messy as hell;
@BeginningProgrammer Жыл бұрын
Hi Marc. You may be right. However, there are times when other individuals such as students need to use C++ and strtok is not an option on the table.
@marc-andrebrun8942 Жыл бұрын
@@BeginningProgrammer poor student if they must learn that way of programming! as an old tinkerer, i'm focused on pure C or on scheme (racket); this 2 languages are on opposite edge of programming paradigms and i feel it's worth to use both; it's a mutual improvement.
@sasanace Жыл бұрын
i tought he is steve wozniak very handy tutorial sir, and it is the frequently asked in interviews so important
@Shmevin Жыл бұрын
very helpful thank you
@appleifc Жыл бұрын
Nice
@BeginningProgrammer Жыл бұрын
thanks
@ghenghiskhan Жыл бұрын
thanks bro
@BeginningProgrammer Жыл бұрын
you're welcome
@gvargas89 Жыл бұрын
Your videos are some of the best for C++ beginners, have you posted anything on how to export a csv file from C++. Let's say you performed some calculations with the student GPA and you want to export that as an output with information such id, student, calculation result?
@BeginningProgrammer Жыл бұрын
Thanks Vargas. I don't think I have. Reading the csv is probably trickier then writing it. Reason I say that is because if you use the fstream library you just create a ofstream instance and write out like you would using cout to format your content. If this comments gets enough likes I will produce that video.
@AlejandraRodriguezTi Жыл бұрын
I am in the first months of a new position as software developer in Embedded C++. I have no professional experience with C++, I just learned the basics in Uni some years ago, so the whole process is being really challenging to me, I have to learn really fast. Right now I am being asked to prepare unit testing environments with VectorCast and it is hard to know where to start, where I did not even know how a normal unit test looks like. So thanks for this video!
@BeginningProgrammer Жыл бұрын
You are welcome. Depending on what framework you use for testing, it will vary from this but the idea is the same.
@ggiztx5 ай бұрын
hey Alejandra, how can I contact you?
@StaticBlaster Жыл бұрын
Turn up the VOLUME!!! I can't hear you.
@emmettdja Жыл бұрын
tried this in c++, no bueno. no multi monitor support and the preview is janky. also i dont even know how you would do settings...
@emmettdja Жыл бұрын
ah, there is an argument when it runs the program if it is a settings display or not
@BeginningProgrammer Жыл бұрын
It's been a while since I tinkered with it. If you install it you get the settings. It does have a bug because windows has changed where you can write files to and as a result that has to be fixed.. The one big caveat is that it will keep your pc running quite a bit .
@BeginningProgrammer Жыл бұрын
would you mind sharing the repo for the C++ version?
@emmettdja Жыл бұрын
@@BeginningProgrammer it was my own. I'm just saying I wrote a c++ program because I wanted to make my own Screensaver. The program does not behave like a normal screen saver and I was just wondering how you could do it in c++
How would you access the values inside of the vector
@BeginningProgrammer Жыл бұрын
like a normal array v[i]
@chrispeele3746 Жыл бұрын
Nice!
@DevLogCentral2 жыл бұрын
Super helpful video. Really helped me understand this! Thank you!!
@BeginningProgrammer Жыл бұрын
Glad it helped.
@campustech26172 жыл бұрын
How parse dcm file
@BeginningProgrammer Жыл бұрын
So.. data files fall into three broad categories flat files, mark up files, markdown which in a way it's actually a mark up. The other category is binary format. Binary formats can be open standard like PDF. I'm not very familiar with the DCM standard and have not ever seen the inside of one. But with most complex files you normally need an API. The API can provide the data contained in the file. Or sometimes you can create your own API based on the standard. Non flat files are way more complex than flat files though and beyond the scope of this tutorial.
@dobcs32362 жыл бұрын
Hi. Can i create owner library like OpenCV by c++ SLT only ? What do I need to learn that
@meganh20362 жыл бұрын
Just rocked my daughter's assignment with your help here, thank you!
@BeginningProgrammer2 жыл бұрын
The actual code is just this file github.com/fernandozamoraj/c_sandbox/blob/master/file_io/main.c
@peterSobieraj2 жыл бұрын
Cool. I do it similarly, but I only pass bool with test result. So test( strcmp(myStr.toCString(),"abc")==0, "compare test"); And also I gave a counter for passed and failed tests. So at the end I just print how many tests have passed and filed.
@phuclhuu2 жыл бұрын
thank you and i from in vietnam
@Noorstud2 жыл бұрын
Thanks for the video. It's too much code to read a text-delimited file using the C-language.
@BeginningProgrammer2 жыл бұрын
it's just this file ... sorry... I didn't realize I posted the entire repo github.com/fernandozamoraj/c_sandbox/blob/master/file_io/main.c
@Noorstud2 жыл бұрын
@@BeginningProgrammer Thanks
@gabrielmalek75752 жыл бұрын
cool video, but please stop frying your eyeballs with light mode, my face caught fire.
@BeginningProgrammer2 жыл бұрын
I will take note of that @gabrie
@BeginningProgrammer Жыл бұрын
I figured light mode is easier for people to see the code. But I could be wrong... Keep upvoting Gabriels comment and I will change it.
@djalalmaster10182 жыл бұрын
Very amazing explanation sir, you have saved my carrier and guessom project, i'm watching this before 1h of the deadline and i really appreciate your work, ليصونصيال ماندوش زيرو
@good17422 жыл бұрын
too loud
@StaticBlaster Жыл бұрын
lol. sarcasm.
@ph1lny32 жыл бұрын
Is the Ledger the logic end of this SoC Design Pattern? Or is it Storage?
@BeginningProgrammer2 жыл бұрын
Business or middle.. but as we know sometimes the middle talks to the back end... in a well separated manner.
@BeginningProgrammer2 жыл бұрын
I think this pattern is all but done away with now though. Most teams are doing feature vertical slices. I think people are finding out that creating a big layer/pool of domain objects is not ideal for an application Some classes at times need to be shared but for the most they are not.
@NMPVevoOfficial2 жыл бұрын
Thank you very much for the video.! What about if we want to do some calculations with the data that are inside the file?
@BeginningProgrammer2 жыл бұрын
you can stored the data in a data structure and do whatever you would normally do with it. You can look through it, query it, etc.
@joaoalvesss2 жыл бұрын
Very helpful video!
@jrippee052 жыл бұрын
How would you parse data that looked like: R double 150.65 R queen 175.5 R 2-queen 210.5 R king 225.5 R suite 350.25 H 904 suite H 901 2-queen H 902 2-queen H 903 queen H xxx queen H 502 2-queen H 503 2-queen H 402 king H 403 suite H 404 king H 405 2-queen H 302 double H 303 double H 304 king H 305 2-queen H 306 king B 100 Mary Phillips king 3 B 101 Romeo Rizzo 2-queen 6 B 102 Julia Palidrone 2-queen 2 B 103 Homer Smith king 1 B 104 Jack Stanley double 5 B xxx Thomas Elu 2-queen 1 B 105 Jane Jetson bubble 4 B 106 Patrick Mahomes suite 4 B 107 Tyreek Hill 2-queen 2 B 100 Jack Carlton double 2 B 108 Charlie Parker double 6 B 109 Ellie Kemper queen xx B 110 Ginger Rogers queen 4 B 201 Rob Riggle 2-queen 1 B 202 Paul Rudd king 1
@jrippee052 жыл бұрын
Sir, where is the data set for the example?
@BeginningProgrammer2 жыл бұрын
you are the first person to ask for it. I didn't realize it was not there. I will post it when I get a chance.
@RuntimeCodeException2 жыл бұрын
Great video mate
@Якстатинепонимаюкак2 жыл бұрын
i have problem .pls help, when i want to pars int and double valus in console i get 0....
@BeginningProgrammer2 жыл бұрын
did you check out the gist look at the age and gpa gist.github.com/fernandozamoraj/aa35555a56884242041495cbb654dbe8