add new cpp and function, now study netlib