PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Free Slot Time
MySQL | 2 sec ago
final_test
C++ | 13 sec ago
Untitled
18 sec ago
Falz Hunar
22 sec ago
Untitled
27 sec ago
Untitled
30 sec ago
Untitled
32 sec ago
Untitled
38 sec ago
A.h
By:
anonymous_infoholic
on
Apr 18th, 2012
| syntax:
C++
| size: 0.20 KB | hits: 43 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
#ifndef A_H
#define A_H
class
A
{
friend
class
List
;
private
:
int
id
;
int
Compare
(
int
,
int
)
;
public
:
A
(
)
{
id
=
0
;
}
A
(
int
i
)
{
id
=
i
;
}
void
NewObject
(
int
i
)
;
}
;
#endif
create a
new version
of this paste
RAW Paste Data
#ifndef A_H #define A_H class A { friend class List; private: int id; int Compare(int, int); public: A() { id = 0; } A(int i) { id = i; } void NewObject(int i); }; #endif