Untitled
unknown
plain_text
a month ago
338 B
3
Indexable
Never
#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"}; }
Leave a Comment