C++ 2D Array File I/O

preview_player
Показать описание
In this video you will learn to take input from a file and place it into a 2d array in C++.

Production: Shmeowlex
Graphics : Shmeowlex
Editing: Shmeowlex

#C++ #Programming #ComputerScience
Рекомендации по теме
Комментарии
Автор

super simple code, and highly efficient.

yangliu
Автор

🎉hi ser how commende output you kown this

iteaahorma
Автор

Hey, I have a question regarding this topic. I have a folder that contains 50 text files and each file is made up of matrices of the same dimension. Can you tell me how i can run through this folder and open each file and then save these files to variable objects and then save these variable objects in a list?

MustafaHalawani-cc
Автор

This will definitely help in my CS assignment. Much appreciated from Fiji 🇫🇯💯

max_trackz
Автор

hi, thank you for the helpful video. by any chance does this work even if the array has negative numbers? I'm trying to practice with it, but any time my code reaches a negative number it only saves 0 from then on. by any chance do you have any tips for that case?

toutreck
Автор

Thank you. What if we have a file with double numbers instead of integer? your method will not worrk(even if you create an array of double)

labysse
Автор

what do i do if the file is text, not numbers?

strawberrybob
Автор

BRUH!!!!
This lab project had me watching this 31232456647345623134.56 times, but I can only lie the video ~meh

davidwingard