Code:
#include <stdio.h>
#include <iostream>
#include <fstream>
using namespace std;
int main(void){
int a[650000] , b[650000] , c[650000];
//int x;
std::ifstream in("myfile.txt");
for (int i=0; i<650000; ++i) // need to use the EOF command here.
{
in >> a[i] >> b[i] >> c[i];
}
Leave a comment: