mirror of
https://github.com/hazemKrimi/jack-vm-translator.git
synced 2026-05-01 18:00:27 +00:00
Use pragma once to improve inclusion of header files
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include "types.h"
|
||||||
|
#include "utils.h"
|
||||||
#include "operations.h"
|
#include "operations.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "branching.h"
|
#include "branching.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
enum Segment
|
enum Segment
|
||||||
{
|
{
|
||||||
LCL,
|
LCL,
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <random>
|
#include <random>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
|||||||
Reference in New Issue
Block a user