tu peux utiliser un tableau de structure :
#include <vector>
#include <fstream>

using namespace std;

struct line
{
int c1;
int c2;