Yes.
Here are two LaTeX macros for the word "C++". They prevent line breaks between the C and "++", and the first packs the two "+"s close to each other but the second does not. Try them both and see which one you like best.
Here are two more LaTeX macros for the word "C++". They allow line breaks between the C and "++", which may not be desirable, but they're included here just in case.
[ Top | Bottom | Previous section | Search the FAQ ]
In alphabetical order:
Finally, you might consider lgrind which is another C++ to LaTeX translator (check for the closest mirror site of the ctan archive). The following is a grind definition for C++ (but this one doesn't recognize some new keywords such as bool or wchar_t, and it doesn't recognize a file ending with .cpp as C++):
[ Top | Bottom | Previous section | Search the FAQ ]
Yes, there is a C++-mode for GNU emacs.
The latest and greatest version of C++-mode (and C-mode) is implemented in the file cc-mode.el. It is an extension of Detlef and Clamen's version. A version is included with emacs. Newer version are available from the elisp archives.
[ Top | Bottom | Previous section | Search the FAQ ]
See one of the following:
[ Top | Bottom | Previous section | Search the FAQ ]
The compiler attempts to save space in the executable by not including the float-to-string format conversion routines unless they are necessary, but sometimes it guesses wrong, and gives you the above error message. You can fix this by (1) using <iostream> instead of <cstdio>, or (2) by including the following function somewhere in your compilation (but don't call it!):
See the FAQ on stream I/O for more reasons to use <iostream> vs. <cstdio>.
[ Top | Bottom | Previous section | Search the FAQ ]
If you're using BC++ for a Windows app, and it works OK as long as you have the BC45 IDE running, but when the BC45 IDE is shut down you get an exception during the creation of a window, then add the following line of code to the InitMainWindow() member function of your application (YourApp::InitMainWindow()):
E-mail the author
[ C++ FAQ Lite
| Table of contents
| Subject index
| About the author
| ©
| Download your own copy ]
Revised Aug 15, 2001