Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#pragma once | ||
|
||
#ifndef DATA_TYPES | ||
#define DATA_TYPES | ||
|
||
#include <stdio.h> | ||
#include <stdint.h> | ||
|
||
#define FIXED_INT_TYPE | ||
|
||
typedef struct FIXED_INT_TYPE | ||
{ | ||
uint16_t A; | ||
uint32_t B; | ||
uint64_t C; | ||
int16_t D; | ||
int32_t E; | ||
int64_t F; | ||
}; | ||
|
||
#define VARIABLE_A 16 | ||
#define VARIABLE_B "Hi" | ||
#define VARIABLE_C 3.14 | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#pragma once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#pragma once |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#pragma once | ||
|
||
#ifndef MACROS | ||
#define MACROS | ||
|
||
#include <iostream> | ||
#include <stdio.h> | ||
|
||
#define NAME "Harry" | ||
#define AGE 18 | ||
#define BIRTHDAY 2904 | ||
#define YEAR 2004 | ||
|
||
#endif | ||
|