Hi, i have applied classification techniques on brain data to classify right hand and left hand movement. I used a binary LDA classifier for nth order classification. This was done on Matlab and i gain easily transform the algorithm on C++ using the data you provide.