Int assumed. Note: C++ does not support default-int compile error help

Total Noob here I’m working on getting structs to work. First I don’t have any idea what caused this error.

UStructures.cpp(11): [C4430] missing type specifier - int assumed. Note: C++ does not support default-int

My CPP file

// Fill out your copyright notice in the Description page of Project Settings.


#include "UStructures.h"
struct FWordStruct;
USTRUCT(BlueprintType)
struct FProfileStruct 
{
	GENERATED_BODY()
	TArray<FWordStruct> WordArray;
	TArray<FWordStruct> TempWordArray;
	FString Player;
	
};

USTRUCT(BlueprintType)
struct FWordStruct
{
	GENERATED_BODY()
};
int main()
{

	return 0;
}

My header

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once
#include "CoreMinimal.h"

And am I adding an array of structs correctly?
I’m trying to have my structs be using in blueprints
And before the compile error is file disappeared from the file explorer in the editor

I tried this

My header File

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once
#include "CoreMinimal.h"
#include "UStructures.generated.h"

struct FWordStruct;
USTRUCT(BlueprintType)
struct FProfileStruct 
{
	GENERATED_BODY()
	TArray<FWordStruct> WordArray;
	TArray<FWordStruct> TempWordArray;
	FString Player;
	
};

USTRUCT(BlueprintType)
struct FWordStruct
{
	GENERATED_BODY()
};

My CCP File

// Fill out your copyright notice in the Description page of Project Settings.


#include "UStructures.h"

int main()
{

	return 0;
}

It compiles, but the file disappears from the editor?
edit-- the structs show up in the editor but the properties do not?

edit again – I figured it out I have to use UPROPERTY(BlueprintReadWrite).