I have a program which includes a class circuit, when i call it im using c1.series........
I want to be able to include c2.parallel........ how do i go about including a second class statement so that i cant use the c2. caller?
This is a discussion on Classes within the C++ Programming forums, part of the General Programming Boards category; I have a program which includes a class circuit, when i call it im using c1.series........ I want to be ...
I have a program which includes a class circuit, when i call it im using c1.series........
I want to be able to include c2.parallel........ how do i go about including a second class statement so that i cant use the c2. caller?
rephrase that
Something like this?
Code:class Cseries { ... }; class Cparallel { ... }; class circuit { Cseries series; Cparallel parallel; };
doesnt matter now, sorted it. cheers