Error with Struct "expected constructor,destructor... before '.' token"

Hi so I'm trying to create a data structure to use in my program but I'm having issues with it and I can't figure it out.

This is the code which I think should work but is giving me an error

#include "data.h"

Data aData;//Data structure for program see "data.h"
aData.Altitude = 0;

This is the data.h file

/*data.h*/

struct data
{
  double Altitude;
  double MinAltitude;
  double Maxltitude; 
  double Calibration;
  int Time;
  byte Menu;
  bool Units;
  bool StopWatch;
};

typedef struct data Data;

Here is the error I'm getting

error: expected constructor, destructor, or type conversion before '.' token

Okay never mind I solved it. I needed to place the assignment into void setup().

void setup(){
aData.Altitude = 0;
}