favorite style guide?

This is a discussion on favorite style guide? within the C++ Programming forums, part of the General Programming Boards category; suggestions please. thanks!...

  1. #1
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    839

    favorite style guide?

    suggestions please.

    thanks!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,935
    What do you mean by "style"? The term can refer to things from "C style code" to "indent style" to "write your code with a flourish"
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    3735928559
    Join Date
    Mar 2008
    Location
    RTP
    Posts
    839
    Quote Originally Posted by laserlight View Post
    What do you mean by "style"? The term can refer to things from "C style code" to "indent style" to "write your code with a flourish"
    well, i've noticed an unparalleled amount of pedantry on this board. as snarky as that may sound initially, i know this is usually for good reason in programming.

    since my education was in chemical engineering and not EE or comp sci, i never got this kind of formalized brow beating about what is good style/practice and what is not.

    i'm interested in 'good practice' guides that help make code efficient, easily maintained, etc.

    google is rife with possibilities, and i can't go about reading lots of them, so i am asking for suggestions on which guides to read.

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,788
    http://cpwiki.sf.net/User:Elysia/Indentation
    Lots of guidelines for readable code!
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,935
    i'm interested in 'good practice' guides that help make code efficient, easily maintained, etc.
    Check out the Effective C++ series of books by Scott Meyers and C++ Coding Standards by Sutter and Alexandrescu.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  3. WS_EX_COMPOSITED style (double buffering) problems
    By JasonD in forum Windows Programming
    Replies: 2
    Last Post: 10-12-2004, 11:21 AM
  4. Favorite Genre: Tv/Movies/Books
    By drdroid in forum A Brief History of Cprogramming.com
    Replies: 22
    Last Post: 02-21-2003, 07:03 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21