problem with c++

Hi everybody
My name is chris and i m new in c++
I have design a simple electric circuit with 2 resistances..
I want to help me to create a program in c++ ,with a object(resistance) and a class (circuit) which calculate the V=I*R and the total resistance in circuit in 2 cases:
first if my resistance are i series
or if my resistance are parallel
i want to have constructors,class,objects and set/get methods

sorry for my english
i hope someone help my
Thanks !!!
Hey Chris - welcome to the boards, your best bet would be to first write your own program and come back here with some code and then ask for tips/help.

Good luck!

There are a plethora of tutorials available on this sight for you to acquaint yourself with!
Topic archived. No new replies allowed.