I'm completely new to coding and have only ever used Microsoft Visual Basic where sub-procedures are used - there's really nothing to them.
I want to basically create 'sub-procedures' in my program so I can run certain parts of the code.
What my program is: The main menu where I can choose what sub to go to. Each subprocedure.
(I am reading the C++ primer book to learn but can't really find any of this sort of stuff towards the start. I kind of need to know so I can create the programs all in one .cpp so they're easy to find and refer back to in the future).
Helps appreciated.