justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: What's your naming convention on C++ private/protected/public variables & methods?
Asked by Rodrigo (187.112.89.x) on January 27 2012, 10:25pm
Reply on January 30 2012, 2:05am:
    Methods can be named whatever, but we always make member variables prefixed with m_, unless it is a trivial class/struct with not more than a few tiny methods. Global variables tend to be g_*, or s_* if they are local to a particular file (i.e. static).

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS