Why does "A" get added onto the front of names in C++

Classes that inherit from UObject are prefixed by U.

Classes that inherit from AActor are prefixed by A.

Classes that inherit from SWidget are prefixed by S.

Check more at Coding Standard | Unreal Engine Documentation