.cpp
2 claimants
2 primary
0 secondary
shared primary (2)
SWH popularity
From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.
215.9M
total occurrences
48.9M
since 2019 (22.6%)
1970–2023
years active
Case variants in archive: .cpp (215.7M), .CPP (215.1K), .Cpp (6.4K), .cPP (532), .cPp (29), .CPp (10), .cpP (5) — aggregated above.
Attribution status
This extension is attributed to C++; C++; C++; cpp as primary by 4 authoritative claims.
Claimants (4)
Languages that list
.cpp among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| C++ | linguist | primary |
| C++ | pygments | primary |
| C++ | wikidata | primary |
| cpp | pygments | primary |
Wikidata says… (3)
File formats, image formats, audio codecs and other non-PL
entities that claim
.cpp on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| class implementation file Q5128020 file containing source code that implements methods declared in a corresponding header file | — | — | — | Use as new PL ↗ | |
| Buzzic v1.x Q27967123 file format | file format | — | audio/x-mod | — | Use as new PL ↗ |
| C++ source code file Q111417227 file format | file format | — | — | — | Use as new PL ↗ |
SWH-mined examples (0)
No archived examples for .cpp in our local mirror yet.