Jump to content

RidgeRun Developer Manual/Coding Styles/C++: Difference between revisions

Line 20: Line 20:
<syntaxhighlight lang="c++">
<syntaxhighlight lang="c++">
/*This is a comment*/
/*This is a comment*/
if ( NULL == var ) {
if ( nullptr == var ) {
   /*...*/
   /*...*/
}
}
Line 27: Line 27:
'''No:'''
'''No:'''
<syntaxhighlight lang="c++">
<syntaxhighlight lang="c++">
if ( NULL == var ) { /*This is a comment*/
if ( nullptr == var ) { /*This is a comment*/
   /*...*/
   /*...*/
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.