1 2 3 4 5 6
#include "Circuit.h" void Circuit::add(IComponent* pComponent) { components[size++] = pComponent; }