Obsolete: Coded for a decommissioned version of the API. Source code might be adaptable though.

(source: DEAD LINK: quickmediasolutions.com)

Code Snippet

#include <sopp/sopp.h>

sopp::soUser user(1);
cout << user.GetDisplayName();
std::vector<sopp::soQuestion> questions;

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


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.


so++ is released under the MIT license.


You can download so++ at http://stackoverflow.quickmediasolutions.com/ (Dead link)

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


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


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


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

  • nice work again!! May 20, 2010 at 7:09
  • 1
    About say it uses jsoncpp, but Platform seems to suggest it doesn't. ;)
    – KTC
    May 21, 2010 at 0:24
  • @KTC: jsoncpp has the same requirements as my wrapper and will therefore run on anything that my wrapper runs on. May 21, 2010 at 16:05
  • Now on Launchpad: launchpad.net/sopp May 27, 2010 at 7:08
  • 2
    Is this still being developed? How to submit patches?
    – Kerrek SB
    Apr 6, 2012 at 19:49
  • 1
    @KerrekSB: Not currently - but patches are welcome. Please visit the Launchpad page for so++ here: launchpad.net/sopp Apr 6, 2012 at 20:30
  • @GeorgeEdison: Hmm, it's too tricky to submit patches. I simplified the two makefiles, though: jsoncpp and sopp.
    – Kerrek SB
    Apr 6, 2012 at 23:06
  • 2
    Don't know much yet about the stack API but I noticed it says v1 is obsolete and this was made before v2 release. Is it still usable. I wanted to use for a blackberry playbook app. This would be perfect for me to practice with if so. May 16, 2012 at 4:54
  • @BrandonClark: Yes, that is correct. so++ supported a limited set of requests against v1.0 of the API and as such should still work. May 16, 2012 at 5:40


You must log in to answer this question.

Browse other questions tagged .