Adding methods to structs in C++

Introduction

Introduction

CPP constructor

Destructor

these can be done on structs? as can methods more generally? what is difference between structs and objects then? priv/pub stuff?