hi plz i need a help i wanna to read this file by using arrays any one can help?
77112233 Noor Hajiri Extreme 2150.4
77223344 Ali Qudsi Extreme 3100.2
77334455 Omar Ashour Extreme 3000.0
66123456 Hamad Salem Plus 900.3
66234567 Huda Murad Plus 1050.5
66345678 Sara kawari Plus 1000.0
33221133 Kamal Merri Lite 220.6
33221144 Jawhara Naimi Lite 260.0
33221155 Ahmad Jaber Lite 250.0
55112233 Faisal Gannam Easy 40.5
55112244 Maha Nahar Easy 55.2
55112255 Tarek Atallah Easy 50.0
i already do it but i want to know how to read the table by using arrays :(
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
int main(){
cout<<"Mobile No First Name Last Name Pack Type Data Consumed in MBs"<<endl;
string table;
ifstream infile("customers.txt");
while (!infile.eof())
{
getline(infile,table);