exp is meant to represent the natural exponential, is how it is represented in every other electronic form ive met, i just assumed c++ would be the same, how would i incorporate this pow() in the code provided

It's just a simple function call. Read this:. The paramter [x] would be the value of e (whatever that is) and the paramter y is the calculation -((W1A * pix1) + (W2A * pix2)));

i dont quite understand, but thats purely down to my knowledge of c++ i really am a beginner so sorry and i thank you for your patience, basically my system runs through and stops, i exit the console and if i want to run through it again i compile and run it again. so for everytime it runs through i want it to produce a different set of numbers. is that what this will do, how would i impliment it, what would x be in time(x)?

thanks bud, thats perfect, i dont think ill use it til the end so i can use the numbers to calculate the outcomes by hand too. anyway thanks so much. ill be asking another question soon, but not on this thread, as it is a different topic