I've come across an issue and for the life of me I can't figure it out. I need some serious help confirming if i'm thinking in the right way.
But say I have 3 files.
Now TableLayout.c is a class that just takes a number from the user and lays out numbers fed to it by Powers.c.
Powers.c is a simple class that fleshes out functions defined in Powers.h (things like square, cubed, square root etc)
How would I make TableLayout.c talk with Powers.c? Is there a way to "instance" Powers.c in TabelLayout.c? I could find no good links on google and some examples left me very confused.
Much MUCH thanks to any help in advance.