Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65542942
planet.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jun 4, 13:32
Size
312 B
Mime Type
text/x-c
Expires
Thu, Jun 6, 13:32 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17993879
Attached To
R7581 SP4E Homework
planet.cc
View Options
#include "planet.hh"
void
Planet
::
initself
(
std
::
istream
&
stream
)
{
Particle
::
initself
(
stream
);
stream
>>
name
;
}
/* -------------------------------------------------------------------------- */
void
Planet
::
printself
(
std
::
ostream
&
stream
)
const
{
Particle
::
printself
(
stream
);
stream
<<
" "
<<
name
;
}
Event Timeline
Log In to Comment