Frequently Asked Questions on hepnet.lang.c++
Last revised September 17, 1994.
This FAQ provides information on the
for discussion and questions on applications of the
C++ programming language in High Energy Physics.
The FAQ is posted (roughly) every month to the group.
The latest version is stored in
repository at freehep.scri.fsu.edu in directory
hepC++FAQ.* [formats: plain text, PostScript, HTML].
Note that, by October 94, this FAQ will undergo significant
changes with the arrival of the
HEP C++ Telegram
HEP C++ Catalog.
- (1) What shall be discussed in this group?
- This is a discussion group for people programming for HEP applications
in C++. Announcements on software, conferences or other developments
shall be (cross-)posted here. More experienced programmers will help
C++ beginners to solve their initial problems with compilers, porting,
syntax...etc. - no question is too small, and some people like to discuss
with physicists rather than computer scientists on
Also, discussions on the "inofficial" standard/rules
for C++ HEP applications [see (5)]
take place here.
Recently, opportunities to meet for a topical meeting during an
international conference or workshop (such as
were discussed, too.
- (2) What shall not be discussed in this group?
- Anything which is really limited to the local programming environment,
such as "What is the command to compile my C++ program on the SGI cluster
at DESY?", as well as local announcements, software updates etc. should
go to the existing
local discussion groups which exist
at all big HEP labs. If you strongly feel you're touching a C++ standard
discussion question, post to
Don't spill too much hacker jargon on this group - C++ is still in its infancy
- (3) Where can I get more information on C++?
- Attach to the World Wide Web (WWW) at
or, if you have no clue about WWW, get
via anonymous FTP from
Many FAQs are answered on the WWW pages. Especially if you miss information
because you are reading the text version of this FAQ, you might want to
check out the WWW resource.
- (4) Where are previous postings to this group?
- All previous postings are stored at
, ordered by numbers. For your convenience, a
selection of archived postings
is available on WWW (outdated).
- (5) Is there any standard for C++ coding in HEP?
- The use of
"Rules and Recommendations
" (PostScript, also in
was once proposed, partially adopted, but also
criticized after. People using GNU Emacs might
like its C++ mode.
CLHEP, the GNU
g++ compiler is standard.
- (6) What is GNU
gcc/g++ is a free, true C++ compiler (no front-end
only translating into C) from
running on many systems. In HEP, some projects, like
CLHEP library, guarantee that their
code compiles with
g++. All you need to know is contained
g++ FAQ. Its latest version
can be obtained from
More on CLHEP is in
- (7) Which HEP projects use C++?
- Various. A
list of projects in this decade
was compiled by
D. Myers/CERN. It is stored in
An interesting proposal to
reorganize CLHEP was made recently
- (8) Can you recommend a book on C++?
- See (3)
'Getting Start(l)ed' page for more books and reviews.
It may be a good idea to have at least one of these in your local library.
If you want it cheaper, I recommend the freely available
rtfm.mit.edu:/pub/usenet/news.answers], or the
from Coronado Enterprises.
The sample programs for
C++ Tutorial are
available via WWW and ftp [from
Errata for the books by Stroustrup and Lippman are available from the
Darmstadt C++ Archive
GNA [Globewide Network Academy] will offer an
Introductory Course on C++ in 1994.
Material from "High Tea C++ Lectures" held by Irwin Sheer (SSC)
are downloaded at freeHEP as
- (9) Is there a beautifying tool for C++ code?
- For GNU Emacs, Lemacs and Epoch, there is
C++ mode, a customizable Emacs-Lisp
program which allows you and your colleagues to code in an homogenous style.
The latest version can be obtained from
archive.cis.ohio-state.edu in directory
- (10) Anything else I need to know before posting?
- You may want to check who's actively using C++ at your site. Check the
local C++ groups. A hell of a lot of information
is available through the
from CERN. C++ software relevant for High Energy Physics is collected at
Maybe you are not altogether decided to use C++ ? Then have a look at
some info on the
language from the
"This FAQ is presented with no warranties or guarantees of
ANY KIND including correctness or fitness for any particular purpose.
The author of this document has attempted to verify correctness of the
data contained herein; however, slip-ups can and do happen. If you use
this data, you do so at your own risk."
Copyright (C) 1993, 1994 Marcus Speh,
All rights reserved. Permission is granted to copy this document for free
distribution so long as it remains intact and unmodified.