Skip to content

Instantly share code, notes, and snippets.

View msmoiz's full-sized avatar

Mustafa S. Moiz msmoiz

View GitHub Profile
@msmoiz
msmoiz / main.cpp
Created April 9, 2021 21:56
C++ Command Line Compilation Demo Source
#include <iostream>
#define GOODBYE std::cout << "Goodbye World!" << std::endl;
int main()
{
std::cout << "Hello World!" << std::endl;
GOODBYE;
#ifdef KIDDING
std::cout << "Just kidding!" << std::endl;
@msmoiz
msmoiz / InterfaceDemo.h
Created April 8, 2021 17:30
Interface Demo for Unreal Engine 4
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "InterfaceDemo.generated.h"
UINTERFACE()
class UBaseInterface : public UInterface
{
GENERATED_BODY()