C/C++ Users Group FAQ

Quick Index

  • 1.1 I am looking for the sample application source code as it was mentioned in page ___ of C/C++ Users Journal?
  • 1.2 What is the difference between C/C++ Users Journal CD-ROM, C/C++ SourceBook, CUG Library CD-ROM, and C/C++ Treasure Chest?
  • 1.3 Why can't I ftp source code from C/C++ Users Group archives?
  • 1.4 I need links to sites with FAQs on c++ and C that answer questions I have about things?
  • 1.5 Could you please help me locate shareware/software to convert Pascal or ADA-83 code to C++ code?
  • 1.6 I have downloaded tar and gz files, how do I use them on a PC?
  • 1.7 I need a free C/C++ compiler, where do I find it?
  • 1.8 I need a "Visual C++ Source Code Beautifier". Where can I find some?
  • 1.9 Where can we find existing standards to base our own coding style document on?
  • 1.10 I don't have enough time to make a C++ parser myself. I want a yacc-able C++ grammer.

    1.1 I am looking for the sample application source code as it was mentioned in page ___ of C/C++ Users Journal?

    A: See http://www.cuj.com/code/archive.html

    1.2 What is the difference between C/C++ Users Journal CD-ROM, C/C++ SourceBook, CUG Library CD-ROM, and C/C++ Treasure Chest?

    A:

  • The C/C++ Users Journal CD: 8 full years of CUJ all issues from January 1990 through June 1998. The CD contains 700+ articles, columns, book reviews, and more most with code. These are all "sample" code pieces not large projects. Last release was June 1998
  • The C/C++ SourceBook, 2nd Ed.: a comprehensive collection of 540 pointers to useful freeware tools and libraries in C and C++. Why get a single snapshot CD-ROM when you can have live links at your fingertips? Latest release March 2000. Retail US$9.95, exclusively at MightyWords.COM.
  • The C/C++ Treasure Chest: A book and CD-ROM combining 380 of the CUG Library CD-ROM tools and libraries plus printed descriptions and multiway indexes (Author, Subject, Language, etc.) of the volumes. Latest release was February 1998.
  • The C/C++ Users Group Library CD-ROM: out of print
    a collection of 400 freeware and shareware tools and libraries in C and C++. These are complete and useful tools, not just sample source code. Application areas include compilers, cross-assemblers, editors, Internet tools, graphics, math libraries, etc. Latest release in April 1999

    1.3 Why can't I ftp source code from C/C++ Users Group archives?

    You can now access all of CUG volumes on the FTP site sponsored by Walnut Creek CDROM. Go to ftp://ftp.freesoftware.com/pub/cug

    1.4 I need links to sites with faq's on c++ and C that answer questions I have about things?

    A: For C++ FAQ see http://www.cerfnet.com/~mpcline/c++-faq-lite/

    For all other FAQS see http://www.faqs.org

    1.5 Could you please help me locate shareware/software to convert Pascal or ADA-83 code to C++ code?

    A: For Pascal to C conversion, try "p2c" at ftp://csvax.cs.caltech.edu/pub/p2c-1.20.tar.Z

    For a ADA-83 to C++ translator, Eldad Zamler is developing such a product called Ada2Cpp. This is not freeware, but there are no other known translators. Several translators exist for converting C or C++ to Ada code.

    1.6 I have downloaded tar and gz files, how do I use them on a PC? The utility WinZIP can uncompress "gzip" (.gz) files and TAR (.tar) files. You may obtain a shareware version of this popular tool at http://www.winzip.com/cug/

    1.7 I need a free C/C++ compiler, where do I find it?

    1.8 I need a "Visual C++ Source Code Beautifier". Where can I find some?

    A: The best prettyprinter with source is of course GNU Indent. The Indent program changes the appearance of a C program by inserting or deleting whitespace. The Indent program can be used to make code easier to read or to convert from one style of writing C to another. Indent understands a substantial amount about the syntax of C, but it also attempts to cope with incomplete and misformed syntax. Indent can replace the original source .C file and retain a backup copy or else write its output to a new .C file. See

    ftp://prep.ai.mit.edu/pub/gnu/indent/

    There is also a copy on the CUG CD-ROM

    1.9 Where can we find existing standards to base our own coding style document on?

    We suggest you base your "C" style manual on
    "The Elements of C Programming Style" by Jay Ranade, Alan Nash
    List Price: $29.95
    Our Price: $23.96
    You Save: $5.99 (20%)
    cover
    For "C++" we recommend you thoroughly examine
    "C++ Programming Style"
    (Addison-Weslley Professional Computing Series)
    by Tom Cargill
    Our Price: $33.95
    And you can't live without reading
    "Writing Solid Code: Techniques for Developing Bug-Free C Programs"
    by Steve Maguire
    List Price: $24.95
    Our Price: $19.96
    You Save: $4.99 (20%)
    cover

    There is also a special section in the C++ FAQ devoted to style questions.

    1.10 I don't have enough time to make a C++ parser myself. I want a yacc-able C++ grammer.

    The Roskind Grammar is the best public domain grammar.
    http://www.empathy.com/pccts/roskind.html