Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64253004
ping_pong_ball.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
Sat, May 25, 15:52
Size
411 B
Mime Type
text/x-c
Expires
Mon, May 27, 15:52 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17217781
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
ping_pong_ball.cc
View Options
#include "ping_pong_ball.hh"
/* -------------------------------------------------------------------------- */
void
PingPongBall
::
printself
(
std
::
ostream
&
stream
)
const
{
Particle
::
printself
(
stream
);
stream
<<
" "
<<
radius
;
}
/* -------------------------------------------------------------------------- */
void
PingPongBall
::
initself
(
std
::
istream
&
sstr
)
{
Particle
::
initself
(
sstr
);
sstr
>>
radius
;
}
Event Timeline
Log In to Comment