C++ Quick Tutorial: How To Store Data from a File into Arrays

Опубликовано: 28 Сентябрь 2024
на канале: VDEngineering
60,300
568

Code: https://github.com/Vinayak-D/FileIO

This video is a quick C++ tutorial on how to import files and scan data into an array (or various arrays), so you can perform mathematical operations on it. This can be very useful for aerodynamic coefficients, or working with external data obtained from another software. It is assumed you know the basics of programming and loops already. This C++ video covers:

1) fstream
2) stringstream (sstream)
3) vector (arrays)
4) opening and closing a file
5) cin / cout functions
6) vector push_back function
7) converting string to float (stof)

Thanks for watching!
VDEngineering
~~My Udemy Courses on Motion Planning / Navigation / Trajectory Planning:
https://www.udemy.com/course/autonomo...
My Instagram:   / vinayak_desh  
My Website: https://www.vinayakd.com/