Skip to main content
6 of 8
Added new meta-data to page.
Nathan Osman
  • 23.3k
  • 11
  • 61
  • 107

so++ - C++ Library

http://stackoverflow.quickmediasolutions.com/sopp.png

##Code Snippet

#include <sopp/sopp.h>

...
sopp::SetKey("...");
sopp::SetSite(SITE_STACKOVERFLOW);
...
sopp::soUser user(1);
cout << user.GetDisplayName();
...
std::vector<sopp::soQuestion> questions;
user.GetQuestions(questions);

cout << questions[0].GetTitle();  // display title of first question
...

##About

so++ is an object-oriented wrapper for the StackOverflow API. It currently uses libcurl and jsoncpp. The .zip file includes examples, though they need the API key replaced.


###License

so++ is released under the MIT license.


###Download

You can download so++ at http://stackoverflow.quickmediasolutions.com/

Update: the code is now in my PPA, so you can get it there if you're using Ubuntu:

sudo add-apt-repository ppa:george-edison55/george-edison


###Platform

so++ is available for any platform with libcurl and the STL.


##Contact

I am the developer and can be reached at [email protected]


##Code

The code can now be found on LaunchPad: http://launchpad.net/sopp

Nathan Osman
  • 23.3k
  • 11
  • 61
  • 107