Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!cherokee!odessa!andy From: andy@odessa.uswest.com (Dave Taenzer) Newsgroups: comp.lang.c++ Subject: Using RCS and C++ Keywords: RCS, C++, ident Message-ID: <1991Jun19.223032.9507@cherokee.uswest.com> Date: 19 Jun 91 22:30:32 GMT Sender: news@cherokee.uswest.com (Telegraph Row) Organization: U S WEST Advanced Technologies Lines: 41 Originator: andy@odessa Nntp-Posting-Host: odessa.uswest.com We are interested in any experiences and/or suggestions that people have related to software development using C++ and either RCS or SCCS. For example, we currently use a scheme which produces one ident line per header and source file. This is done by defining a symbol in the header for each class and then using it in the source file: in the header file: #ifndef FOO_H #define FOO_H "$Header:" . . . #endif in the source file: #include "Foo.h" static char *RCSid_c = "$Header:$"; static char *RCSid_h = FOO_H; This takes advantage of the "standard" #ifndef/#define in the header file and prevents multiple ident lines for the header file (as would happen if there was a "static char *RCSid" in the header file. We are new to C++ and looking for any ideas that people are willing to share on this and related topics. Send me email, and if the response is sufficient I will post a summary to the net. Thanks. andy@uswest.com -- Andy Hewitt Internet: andy@uswest.com U S WEST Advanced Technologies UUCP: {...}!ncar!boulder!uswat!andy 4001 Discovery Dr Boulder, CO 80303 Phone: (303) 541-6563