Hello c++ gurus.
I'm back to using c++ for a class I'm taking and I return to you guys for guidance and help. OK so my project this time consists of having to create a multi-file project. I've been given the main.cpp for this project but I am to create the class file for it. It is supposed to be a resistor class. Here is what I have so far...
using namespace std;
void StoreTolerance ();
Here is what the class is supposed to do...
1.store the nominal resistance value of a resistor
2.store the tolerance of a resistor
3.initialize any and all nominal-resistance values to correct, EIA, nonzero values that are greater than 0 and less than 1,000,000 ohms
4.initialize any and all resistance-tolerance values to correct, E12, E24, E48, or E96 resistance-tolerance values
5.allow the nominal-resistance and tolerance values of a resistor object to be changed by the user
6.All member functions should have a test message stating the name of the function. All the test messages should be displayed or not displayed, depending on the value of a Boolean variable declared in main(). a.If the Boolean value = true, display the message.
b.If the Boolean value = false, do not display the message.
As you can see I'm lost. Any and all help is appreciated. Thanks in advance.