http://www.jindent.com |
|
Next: Metadata Definitions |
Blank lines after macro functions |
IMPLEMENT_DYNAMIC(CAddSourceDlg, CDialog) ¶ void method() { ... } |
IMPLEMENT_DYNAMIC(CAddSourceDlg, CDialog) ¶ ¶ void method() { ... } |
Blank lines after using directives |
using namespace std; ¶ void method() { ... } |
using namespace std; ¶ ¶ void method() { ... } |
Blank lines before #if, #ifdef, #ifndef directives |
#if
, #ifdef
and #ifndef
preprocessor directives.
Name::Name() { pFirstname = pSurname = "\0" ¶ #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #endif } |
Name::Name() { pFirstname = pSurname = "\0" #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #endif } |
Blank lines after #if, #ifdef, #ifndef directives |
#if
, #ifdef
and #ifndef
preprocessor directives.
Name::Name() { pFirstname = pSurname = "\0" #ifdef CONSTRUCTOR_TRACE ¶ cerr << "Default Name constructor called.\n"; #endif } |
Name::Name() { pFirstname = pSurname = "\0" #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #endif } |
Blank lines before #else, #elif directives |
#else
and #elif
preprocessor directives.
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; ¶ #else cerr << "Nothing to trace.\n"; #endif // ... } |
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #else cerr << "Nothing to trace.\n"; #endif // ... } |
Blank lines after #else, #elif directives |
#else
and #elif
preprocessor directives.
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #else ¶ cerr << "Nothing to trace.\n"; #endif // ... } |
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #else cerr << "Nothing to trace.\n"; #endif // ... } |
Blank lines before #endif directives |
#endif
preprocessor directives.
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; ¶ #endif // ... } |
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #endif // ... } |
Blank lines after #endif directives |
#endif
preprocessor directives.
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #endif ¶ // ... } |
Name::Name() { #ifdef CONSTRUCTOR_TRACE cerr << "Default Name constructor called.\n"; #endif // ... } |
Blank lines before #include directives |
#include
preprocessor directives.
// ... ¶ #include "unicode/locid.h" #include "unicode/uloc.h" // ... |
// ... #include "unicode/locid.h" #include "unicode/uloc.h" // ... |
Blank lines after #include directives |
#include
preprocessor directives.
// ... #include "unicode/locid.h" #include "unicode/uloc.h" ¶ // ... |
// ... #include "unicode/locid.h" #include "unicode/uloc.h" // ... |
Blank lines before #pragma directives |
#pragma
preprocessor directives.
// ... ¶ #pragma code_page(1252) // ... |
// ... #pragma code_page(1252) // ... |
Blank lines after #pragma directives |
#pragma
preprocessor directives.
// ... #pragma code_page(1252) ¶ // ... |
// ... #pragma code_page(1252) // ... |
Blank lines before #warning #error directives |
#warning
and #error
preprocessor directives.
// ... ¶ #error Invalid build platform for this stub. // ... |
// ... #error Invalid build platform for this stub. // ... |
Blank lines after #warning #error directives |
#warning
and #error
preprocessor directives.
// ... #error Invalid build platform for this stub. ¶ // ... |
// ... #error Invalid build platform for this stub. // ... |
Blank lines before #define, #undef directives |
#define
preprocessor directives.
// ... ¶ #define PCBASELOCATION "edcache.p2p." #define RETRYDAYS 2 #define SIGNATURELENGTH 256 // ... |
// ... #define PCBASELOCATION "edcache.p2p." #define RETRYDAYS 2 #define SIGNATURELENGTH 256 // ... |
Blank lines after #define, #undef directives |
#define
preprocessor directives.
// ... #define PCBASELOCATION "edcache.p2p." #define RETRYDAYS 2 #define SIGNATURELENGTH 256 ¶ // ... |
// ... #define PCBASELOCATION "edcache.p2p." #define RETRYDAYS 2 #define SIGNATURELENGTH 256 // ... |
Blank lines before #line directives |
#line
preprocessor directives.
// ... ¶ #line // ... |
// ... #line // ... |
Blank lines after #line directives |
#line
preprocessor directives.
// ... #line ¶ // ... |
// ... #line // ... |
Blank lines before other directives |
// ... ¶ using <Ex9_16lib.dll> // ... |
// ... using <Ex9_16lib.dll> // ... |
Blank lines after other directives |
// ... using <Ex9_16lib.dll> // ... |
// ... using <Ex9_16lib.dll> // ... |