Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F85750656
planet2.cpp
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, Oct 1, 21:11
Size
267 B
Mime Type
text/x-c
Expires
Thu, Oct 3, 21:11 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21261532
Attached To
R9360 PCSC_git
planet2.cpp
View Options
#include "planet2.hh"
void
Planet
::
move
(
double
delta
[
3
])
{
// DO SOME CODE
}
Planet
::
Planet
()
{
coords
=
new
double
[
3
];
coords
[
0
]
=
0.
;
coords
[
1
]
=
1.
;
coords
[
2
]
=
2.
;
}
Planet
::~
Planet
()
{
// delete memory
delete
[]
coords
;
}
int
main
()
{
// ...
}
Event Timeline
Log In to Comment