laser, how would i implement that x stuff in my code? i dont really have a grasp on how to put it into action instead of the pow() stuff.
laser, how would i implement that x stuff in my code? i dont really have a grasp on how to put it into action instead of the pow() stuff.
Well... write a program to print alternating 1s and -1s. That should give you some insight into how to handle this coefficient x. Once you have that figured out, you can use it for your actual program.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)