Untitled
unknown
plain_text
a year ago
338 B
11
Indexable
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
ifstream input_file("array.txt");
vector<std::string> numbers;
string line;
while(getline(input_file, line))
{
numbers.push_back(line);
}
// this part
string arr[] = { "Red", "Orange", "Green", "Blue"};
}Editor is loading...
Leave a Comment