VARTYPE

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> #include <stdint.h> #include <stdbool.h> #define CONCAT_(a, b) a##b #define CONCAT(a, b) CONCAT_(a, b) typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; typedef uint64_t u64; typedef char s8; typedef int16_t s16; typedef int32_t s32; typedef int64_t s64; typedef bool b8; typedef float f32; typedef double f64; #define VARTYPE s8 #define VARTYPENAME s8 #include "dio.c" #undef VARTYPE #undef VARTYPENAME #define VARTYPE s16 #define VARTYPENAME s16 #include "dio.c" #undef VARTYPE #undef VARTYPENAME #define VARTYPE s32 #define VARTYPENAME s32 #include "dio.c" #undef VARTYPE #undef VARTYPENAME #define VARTYPE s64 #define VARTYPENAME s64 #include "dio.c" #undef VARTYPE #undef VARTYPENAME #define VARTYPE f32 #define VARTYPENAME f32 #include "dio.c" #undef VARTYPE #undef VARTYPENAME #define VARTYPE f64 #define VARTYPENAME f64 #include "dio.c" #undef VARTYPE #undef VARTYPENAME #define VARTYPE s8 * #define VARTYPENAME s8ptr #include "dio.c" #undef VARTYPE #undef VARTYPENAME int main() { v3f32 Twer; v3f64 Raiy; v3s8ptr Tea; printf("Hello World!\n"); return 0; }
typedef struct{ VARTYPE x; VARTYPE y; VARTYPE z; }CONCAT(v3,VARTYPENAME);
Editor Settings
Theme
Key bindings
Full width
Lines