#pragma once

#include <stdio.h>
#include <fstream>
#include <sstream>

using namespace std;


class RecordNode  
{
	
	
	public:
		long NumCompte;
		int NumRef;
		long DebutPos;

		RecordNode* next;

		bool operator<(const RecordNode& r){
			return NumCompte<r.NumCompte;
		}

		void toString(){
			cout<<"["<<NumCompte<<"|"<<DebutPos<<"]"<<endl;
		}
		RecordNode(fstream& infile);
		~RecordNode();
};
