How to Make Global Functions and Structs?

Hi Moss! :slight_smile:

I tried to create a global struct in C++ like your example, but the compiler can’t complete:

Error C3646 ‘FName’: unknown override specifier

I created the same header file that you and include to main header. Also I tried to close UnrealEd and delete all folders except “Content” and “Source” and tries to compile again, but the same problem :S

I upload a image to show the distribution of files in the solution. I think they are good.

Can you help me please? Thanks!

TerrorJam.h
#pragma once

#include "Engine.h"
#include "GlobalStructs.h"