Advertisement
Guest User

Untitled

a guest
Sep 19th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. Point()
  2. {
  3. x = y = 0;
  4. }
  5.  
  6. main()
  7. {
  8. const int N = 200;
  9.  
  10. Point *A = new Point[N], sum;
  11.  
  12. }
  13.  
  14. struct Point //constructor
  15. {
  16. int x;
  17. int y;
  18. } Point;
  19.  
  20. main()
  21. {
  22. int N = 200;
  23. Point* A = malloc(N * sizeof(*Point[]));
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement