C++ How to parse this string out
<p>I got a small chunk of code that i need to parse out</p>

<p>I just want the value like</p>

<p>longname (shortname) such as Euro (EUR) or maybe Bristish Pound (GBP)</p>

<p>and output it into a file.txt using C++ in this way</p>

<p>Euro (EUR)<br>
British Pound (GBP)<br></p>

<pre><code>{
        "shortname": "EUR",
        "longname": "Euro",
        "users":  "Austria,Belgium,Cyprus,Finland,Helsinki,France,Paris,Germany,Berlin,Greece,Athens,Ireland,Dublin,Italy,Rome,Milan,Pisa,Luxembourg,Malta,Netherlands,Portugal,Sl$
                "alternatives": "ewro,evro",
        "symbol": "€",
        "highlight": "1"
    },
    {
        "shortname": "GBP",
        "longname": "British Pound",
        "users":  "United Kingdom,UK,England,Britain,Great Britain,Northern Ireland,Wales,Scotland,UK,Isle of Man,Jersey,Guernsey,Tristan da Cunha,South Georgia and the South San$
        "alternatives": "Quid,Pound Sterling,Sterling,London,Cardiff,Edinburgh,Belfast",
        "symbol": "£",
        "highlight": "1"
    },
</code></pre>
