Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1494145
Unit.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
224 B
Referenced Files
None
Subscribers
None
Unit.cpp
View Options
#include
"Unit.h"
unsigned
int
Unit
::
num_of_units
=
0
;
Unit
::
Unit
()
{
this
->
id
=
num_of_units
;
num_of_units
++
;
}
void
Unit
::
set_id
(
unsigned
int
id
)
{
this
->
id
=
id
;
}
unsigned
int
Unit
::
get_id
()
{
return
this
->
id
;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Mar 1, 6:33 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
281484
Default Alt Text
Unit.cpp (224 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment