Answer the question
In order to leave comments, you need to log in
C++ How to extract numbers from a file into a numeric array for further manipulation of those numbers?
https://inf-ege.sdamgia.ru/problem?id=37348
The link contains the task itself and a supported file in txt format
Need urgently for the exam. How to extract numbers from a file into a numeric array for further use of these numbers? No C-style please. And, is it possible to do this with a static array? Or is it just collections? Using the fstream library You just need to answer how to read numbers into a file in C ++, and not solve this problem.
I'm a beginner, except for arrays I don't know anything else: neither vectors, nor collections, nor lists.
If it is not possible with an array, but is it possible with a list?
Answer the question
In order to leave comments, you need to log in
I'm a beginner, except for arrays I don't know anything else: neither vectors, nor collections, nor lists.Sense then pour these terms? And what's the problem with google: "Read a number from a c++ file" and a bunch of links with explanations, people even made a separate article for this article
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question