How can I group multiple variables into
How can I group multiple variables into a single variable?
Nov 20, 2013 at 8:30am UTC
for example I want all of these to fall into a new variable "salaries".
analyst = 49888.25, teamLead = 65756.85, manager = 99852;
Nov 20, 2013 at 9:04am UTC
use a class or a structure.
Nov 20, 2013 at 9:06am UTC
how? can u give an example code?
Nov 20, 2013 at 9:10am UTC
Topic archived. No new replies allowed.
General C++ Programming
© cplusplus.com, 2000-2015 - All rights reserved -
Spotted an error? contact us