Skip to content
Permalink
Browse files
Add files via upload
  • Loading branch information
clarkh9 committed Jan 7, 2023
1 parent 826b62f commit a9f30669d69b4a480d387677ca4eb4e2f9dc37da
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
@@ -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
@@ -0,0 +1 @@
#pragma once
@@ -0,0 +1 @@
#pragma once
@@ -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

0 comments on commit a9f3066

Please sign in to comment.