Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62375041
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
Sun, May 12, 18:41
Size
312 B
Mime Type
text/x-c
Expires
Tue, May 14, 18:41 (2 d)
Engine
blob
Format
Raw Data
Handle
17210268
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