OAuth is a specification for authentication cross systems via HTTP.
You must learn how to use HTTP communication with C++ (hint WinInet API or socket), and generate/response OAuth data structure for specified functions.
More reference:
http://oauth.net/documentation/
http://oauth.net/code/
小朱的技術隨手寫:http://www.dotblogs.com.tw/regionbbs/
目前籌建雲端運算學堂 (studyazure.com) 中...