Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77038797
main.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, Aug 11, 23:27
Size
360 B
Mime Type
text/x-c
Expires
Tue, Aug 13, 23:27 (2 d)
Engine
blob
Format
Raw Data
Handle
19811078
Attached To
R7571 SP4E-TB-TL-FR
main.cc
View Options
#include <iostream>
#include "pi.hh"
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <iomanip>
/* -------------------------------------------------------------------------- */
int
main
(
int
argc
,
char
**
argv
)
{
// Hello
ComputePi
pi
;
unsigned
int
n
=
100
;
std
::
cout
<<
"Pi:"
<<
pi
.
compute
(
n
)
<<
std
::
endl
;
return
EXIT_SUCCESS
;
}
Event Timeline
Log In to Comment