Is there any package with predefined macros for common programming languages' names? I mean, macros that help writing things like C++, C#, F# etc. in a nice way, the same way as for example \TeX? I have already written some of my own macros to do that but surely someone else has already thought about that and have prepared such useful macros in a package.
EDIT: Here are macros that I use myself. Might be useful for someone else.
\newcommand{\CPP}{C\nolinebreak[4]\hspace{-.05em}\raisebox{.3ex}{\small++}\xspace}
\newcommand{\CS}{C\nolinebreak[4]\hspace{-.05em}\raisebox{.2ex}{\small\#}\xspace}
\newcommand{\FS}{F\nolinebreak[4]\hspace{-.05em}\raisebox{.2ex}{\small\#}\xspace}


C++: http://tex.stackexchange.com/questions/4302/prettiest-way-to-typeset-c – yo' Jan 06 '13 at 22:19\nolinebreak, put the whole code in\hbox{...}– yo' Jan 06 '13 at 22:35hologoormetalogo– bloodworks Jan 06 '13 at 22:40\mbox, as\hboxdoesn't start a paragraph if found in vertical mode. – egreg Jan 08 '13 at 08:43