Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71956324
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
Sat, Jul 13, 22:58
Size
360 B
Mime Type
text/x-c
Expires
Mon, Jul 15, 22:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19018432
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