help with c++ programming

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 !!!
Thats an easy task you just have to learn some basic OOP concepts and you will figure it out how to do it.
Btw no one's going to write its code for you here. You have to do that yourself.
But why's resistance an object and circuit a class? I'd put resistance as a double or int and circuit as an object.
Topic archived. No new replies allowed.