Search found 2316 matches

Re: Random

I just tried it again, and it still isn't working. At this point I'm starting to blame my text editor. :ghost: Or a curse. :think: Make sure you're saving where you think you're saving, compiling the file(s) you think you're compiling, and running the executable you think you're running. I'm using ...

Re: Random

No, I asked but actually I can debug it by looking at the position of the stars :roll: Really? :shock: Right, I am sufficiently intimidated, have at it: :ghost: #include <iostream> #include <math.h> #include <stdlib.h> #include <fstream> using namespace std; double lr=1; double sigmoid(double x){ d...

Re: Random

Hello, I'm back, soliciting more programming advice from good, hardworking... I was going somewhere with this I swear. :silent: How do I make this function return zero when x is greater then 700? :think: double e=2.71828; double k=0; if (x<700){ double j=pow(e, x); double l=j+1; double h=pow(l,2); k...

Go to advanced search

cron