fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct Parameters {
  5. static constexpr int n = 2;
  6. static constexpr double v[n] = {4.0, 5.0};
  7. };
  8.  
  9. int main() {
  10. Parameters p;
  11.  
  12. cout << p.n << " " << p.v[0] << " " << p.v[1];
  13. return 0;
  14. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
2 4 5