1doublein[1] = {0.9};//训练样本输入1doublein1[1] = {0.1};//训练样本输入2doublein2[1] = {0.5};//训练样本输入3doubleout[1] = {0.1};//理想输出//神经网络训练目标://输入任意值,输出0.1BPNetWork* network = BPCreate(a,4,0.5);intc =1000;//训练1000次while(c--) {...