checkpoint

This commit is contained in:
aljazbrodar. 2025-12-07 09:56:50 +01:00
parent 4c6c4b8a22
commit 3c876211c2
35 changed files with 365 additions and 207 deletions

19
ass2/simulator/loader.h Normal file
View file

@ -0,0 +1,19 @@
#ifndef LOADER_H
#define LOADER_H
#include <string>
class Loader
{
public:
Loader();
// Prebere niz dolžine len
std::string readString(string &r, int len);
// Prebere en bajt (2 heksadecimalni znaka)
int readByte(std::string &r);
// Prebere eno "besedo" (3 bajte = 6 heksadecimalnih znakov)
int readWord(std::string &r);
};
#endif // LOADER_H