Accessing struct defined in a class

In reply to vikrant_sharma:

You have only declared the type, not a variable.