4

So i've been learning OOP is quite a while now and wanted to test out the little knowledge i have.. I wanted to use some API provided by the website, This API Checks if a username is already been taken. But how will i do it with C++? Where will i start?

This is :

http://www.roblox.com/UserCheck/DoesUsernameExist?username=bob1

The username is taken so:

{
    "success" :true
}

1 Answers1

4

C++ from a box does not provide a support of HTTP protocol and a JSON parser. You should use third party libraries such as libcurl and libjson.

Here is an example, how to use libcurl to download a JSON data.

Community
  • 1
  • 1
brainstream
  • 451
  • 4
  • 17