[cpp] add query board