fork(1) download
  1. #include <iostream>
  2.  
  3. struct Point
  4. {
  5. int x;
  6. int y;
  7. };
  8.  
  9. int main()
  10. {
  11. Point point = {640, 480};
  12. std::cout << point.x << ", " << point.y << std::endl;
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
640, 480