This is a perceptron unit with training algorithm for the classification of linearly separable data written in C++.