fork(4) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct foo
  5. {
  6. string s = "Hallo Welt";
  7. int i = 42;
  8. double d = 3.1415;
  9. };
  10.  
  11. int main() {
  12. // your code goes here
  13. foo f; // noch ok
  14. foo f2{"Hallo Compiler",12,0.5};
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 3452KB
stdin
Standard input is empty
stdout
Standard output is empty