C++ Create A Simple Struct!

I think you are missing some header files. Go in editor and add code to project and create a class. See how it is declared and what headers are included and adapt it to your struct file.