Sign Up
Login
API
FAQ
Tools
Trends
Archive
PASTEBIN
new paste
trends
API
tools
faq
Guest User
-
Public Pastes
Untitled
3 sec ago
Untitled
6 sec ago
Untitled
10 sec ago
Untitled
C# | 13 sec ago
Untitled
15 sec ago
copiando do cara
17 sec ago
FSD
C# | 17 sec ago
Untitled
19 sec ago
daily pastebin
goal
54%
help support pastebin
SHARE
TWEET
ctor demo
Archon
Feb 3rd, 2011
85
Never
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
raw
download
clone
embed
report
print
C++
0.15 KB
class
Car
{
int
x
;
int
*
p
;
Car
(
int
arg
)
{
x
=
arg
;
p
=
new
int
;
*
p
=
arg
;
}
~Car
(
)
{
delete
p
;
}
}
;
RAW Paste Data
class Car{ int x; int *p; Car(int arg){ x = arg; p = new int; *p = arg; } ~Car(){ delete p; } };
Top