Hello. The question is, there are 2 structures. How to correctly declare a default constructor in the One structure? Interests specifically in the case of an array of point structures from 50 elements? so that it is initialized by default with the Reach constructor values for all 50 elements
#include ".\Point.h" struct Reach { unsigned short az; Point location; float block; Reach(unsigned short _az = 0, Point _point = Point(), float _block = 0.0f) : az(_az) , location(_location) , block(_block) {} }; struct One { unsigned short number; Reach point[50]; // Точки bool isMin; One(unsigned short _number = 0, bool _isMin = false) : number(_number) , point() , isMin(_isMin) {} };