This time, I’ll show you how the code looks in C++ and also tell you more about ... try changing the data to do an XOR), the code will break out after 500 passes through the training data.