Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
// Example of using the GeographicLib::Math class
|
||||
|
||||
#include <iostream>
|
||||
#include <exception>
|
||||
#include <GeographicLib/Math.hpp>
|
||||
|
||||
using namespace std;
|
||||
using namespace GeographicLib;
|
||||
|
||||
int main() {
|
||||
try {
|
||||
cout << Math::pi() << " " << Math::sq(Math::pi()) << "\n";
|
||||
}
|
||||
catch (const exception& e) {
|
||||
cerr << "Caught exception: " << e.what() << "\n";
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user