[gnu.emacs.help] c++ mode for GNU Emacs

bergquis@nms.gdc.portal.com (Brett Bergquist) (02/03/91)

Does anyone now how to modify "c-mode.el" to support the editting of C++
code.  Specifically, I would like to be able to use both the "/* */" format
of comments as well as "//".  There also seems to be a problem with the
"classname::member_function" indentation.

To deal with the "//" problem, I tried to make the "/" character's syntax
to be ".124", (punctuation; start of a two-char comment start sequence;
second character of a two-char comment start sequence; and second character
of a two-char end comment sequenc).

Thanks in advance.
-- 
Brett M. Bergquist, Principal Engineer | "Remind me" ... "to write an
General DataComm, Inc.,                | "article on the compulsive reading
Middlebury, CT 06762                   | of news." - Stranger in a Strange Land
Email: bergquis@nms.gdc.portal.com  or ...!portal!gdc!nms!bergquis

bergquis@nms.gdc.portal.com (Brett Bergquist) (02/06/91)

Thanks for all of the responses.-- 
Brett M. Bergquist, Principal Engineer | "Remind me" ... "to write an
General DataComm, Inc.,                | "article on the compulsive reading
Middlebury, CT 06762                   | of news." - Stranger in a Strange Land
Email: bergquis@nms.gdc.portal.com  or ...!portal!gdc!nms!bergquis