Compare commits
10 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
b5a61ec98c | 6 years ago |
|
|
2348717c64 | 6 years ago |
|
|
0a0ee27002 | 6 years ago |
|
|
2f20fb6414 | 6 years ago |
|
|
be550eda6a | 6 years ago |
|
|
3a8f2b01f5 | 6 years ago |
|
|
1ad97b69bf | 6 years ago |
|
|
b148911ee1 | 6 years ago |
|
|
1fd896cf58 | 6 years ago |
|
|
fbc3e67c2f | 6 years ago |
@ -0,0 +1,10 @@
|
|||||||
|
#include <iostream>
|
||||||
|
#include <chrono>
|
||||||
|
#include <random>
|
||||||
|
#include <climits>
|
||||||
|
|
||||||
|
void atlasPrint() {
|
||||||
|
std::default_random_engine generator(static_cast<int>(std::chrono::steady_clock::now().time_since_epoch().count()));
|
||||||
|
std::uniform_int_distribution<int> distribution(INT_MIN, INT_MAX);
|
||||||
|
std::cout << "Generate a random integer: " << distribution(generator) << std::endl;
|
||||||
|
}
|
||||||
@ -1,8 +1,15 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include "atlas.h"
|
||||||
|
#include "worka.h"
|
||||||
|
#include "workb.h"
|
||||||
|
#include "Circle.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
cout << "hello world" << endl;
|
atlasPrint();
|
||||||
|
MyClass().Print();
|
||||||
|
test().Print();
|
||||||
|
cout << Circle().Area() << endl;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in new issue