Carbon-containing compounds
There is an immense number of distinct compounds that contain carbon atoms. Some sources suggest that this number is close to almost ten million known. but it is possible that the number is even higher

# Organic compounds
Every single organic compound contains at least one atom of carbon. The number of these compounds is immense and probably is close to 10 million.

# Inorganic compounds
There is a rich variety of carbon chemistry that does not fall within the realm of organic chemistry and is thus called inorganic carbon chemistry.
Perhaps the best known are the oxides of carbon, carbon dioxide (CO2) and carbon monoxide (CO). Other known oxides are the uncommon carbon suboxide, C3O2, the uncommon dicarbon monoxide, C2O and even the exotic carbon trioxide (CO3). The only known acid that is derived from these oxides is the carbonic acid (H2CO3). Upon monodeprotonation of this acid, bicarbonates are formed, which can be further derpotonated to carbonates.
Other types of inorganic compounds include (but are not limited to) inorganic salts and complexes of the carbon-containing polyatomic ions, cyanide, isocyanide, cyanate, thiocyanate, and carbide. Metal carbonyls are complexes that are formed with the neutral ligand CO.
The known inorganic chemistry of the allotropes of carbon (diamond, graphite, and the fullerenes) blossomed with the discovery of buckminsterfullerene in 1985, as additional fullerenes and their various derivatives were discovered. One such class of derivatives is inclusion compounds, in which an ion is enclosed by the all-carbon shell of the fullerene. This inclusion is denoted by the "@" symbol. For example, an ion consisting of a lithium ion trapped within buckminsterfullerene would be denoted Li+@C60. As
with any other ionic compound, this complex ion could in principle pair with a counterion to form a salt.
For a more complete listing of inorganic carbon compounds on Wikipedia see Inorganic compounds by element#Carbon.

# Alloys
There are several alloys that contain carbon of which the best known alloy is carbon steel (see category:steels)). Besides steel, other alloys based on iron and carbon are: anthracite iron, cast iron, pig iron, wrought iron, but also spiegeleisen (which cntains also manganese).  Stellite is an alloy of carbon with cobalt, chromium and tungsten.
-  Chemistry Operations (December 15, 2003). "Carbon". Los Alamos National Laboratory. Retrieved 2007-11-21. Check date values in: |date= (help).mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"\"""\"""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{display:none;font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}