School Commit Init

This commit is contained in:
2024-08-31 12:07:21 +03:00
commit 0b130ee18c
2801 changed files with 4720552 additions and 0 deletions
@@ -0,0 +1,24 @@
#pragma once
#include "SortedIndexedList.h"
//DO NOT CHANGE THIS PART
class ListIterator{
friend class SortedIndexedList;
private:
const SortedIndexedList& list;
ListIterator(const SortedIndexedList& list);
//TODO - Representation
int _current;
public:
void first();
void last();
void next();
bool valid() const;
TComp getCurrent() const;
void previous();
};