This is a C++ implement of Neural Network.
1 Gernerate training data to slove XOR problem
g++ ./TrainingSamples.cpp -o TrainingSamples
./TrainingSamples > out.txt
2 Test neural netwrok
g++ ./neuralnet.cpp -o neuralnet
./neuralnet
And you will get the result!