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.
@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
@201mBrasil3 жыл бұрын
nice , tks
@darkbro12352 жыл бұрын
vector subscript out of range line 1732 error... what should i do with it?
@BeginningProgrammer2 жыл бұрын
sounds you tried to loop through the vector beyond the size of the vector. I don't think that's in this code but you have other code and you are exceeding the bounds. You can check the size using myvector.size().
@Hevander752 жыл бұрын
hey I really appreciate you videos! thanks a lot, any chance you could help out a bit with a project just some direction
@BeginningProgrammer2 жыл бұрын
sure maybe we can zoom send me your email... beginningprogrammer.com@gmail.com
@donaldmartin26402 жыл бұрын
I'm retired, and new to C++ so I can help my granddaughter with college. I keyed in your last video and found my compiler will not compile what you have on the screen. I double-checked fat fingers.....Suggestions. Maybe these are a little over my head for now. Thanks in advance. I'm using Code::Blocks 20.03
@BeginningProgrammer2 жыл бұрын
Hi Donald. If you look in the description of the video. You will find the code. So... you don't even have to type it in. You can just copy it and compile it. There is one caveat. The linked code is in one big page. However the code needs to be separated into files. The comments tell you where the beginning of each file and what the name is. You can good how to write a C++ program with multiple files. That is what you will need to do with the code that I linked in the description.