cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How can I group multiple variables into
How can I group multiple variables into a single variable?
Nov 20, 2013 at 8:30am UTC
carlplusplus
(30)
for example I want all of these to fall into a new variable "salaries".
double
analyst = 49888.25, teamLead = 65756.85, manager = 99852;
Nov 20, 2013 at 9:04am UTC
mutexe
(2372)
use a class or a structure.
Nov 20, 2013 at 9:06am UTC
carlplusplus
(30)
how? can u give an example code?
Nov 20, 2013 at 9:10am UTC
mutexe
(2372)
http://www.cplusplus.com/doc/tutorial/structures/
http://www.cplusplus.com/doc/tutorial/classes/
Topic archived. No new replies allowed.