--- Mar 15/12/09, Sanjeev Gopinath <[email protected]> ha scritto:

Da: Sanjeev Gopinath <[email protected]>
Oggetto: [c-prog] Notational Conventions
A: [email protected]
Data: Martedì 15 dicembre 2009, 18:33

      
> Hello there,
> Could anyone tell me about notational conventions for C++?
> Which is the one most widely used?
>
> Sanjeev Gopinath V

Do you mean notation conventions such as 'hungarian notation' and 'CamelCase 
notation'?

http://www.tenouk.com/cnotation.html

As far as I know, every programming environment has so-called 'coding 
guidelines' that should be followed by programmers.
They are platform / compiler / framework specific and not only limited to the 
language notation.

For example, I wrote a simple library for the wxWidgets framework and I 
followed its guidelines:

- use 4-space indentation, not TABs
- prefix all data members with 'm_'
- prefix all static data members with 'sm_'
and so on...

Regards
Luciano











      

Reply via email to