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?
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