This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
master
RosettaCodeData
/
Task
/
Null-object
/
C++
/
null-object-3.cpp
10 lines
101 B
C++
Raw
Permalink
Normal View
History
Unescape
Escape
March 2014 update
2014-04-02 16:56:35 +00:00
int
*
p
=
nullptr
;
.
.
.
Just another update
2015-02-20 00:35:01 -05:00
if
(
p
=
=
nullptr
)
{
// do some thing
}
//or just
if
(
p
)
{
March 2014 update
2014-04-02 16:56:35 +00:00
// do some thing
}
Reference in a new issue
Copy permalink