Last active
August 29, 2015 14:08
-
-
Save VitaminaCPP/1e652cd3b23b0573c6e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct punto { int x, y, z; }; | |
struct objeto | |
{ | |
punto posicion; | |
float masa; | |
}; | |
punto puntos0[] {0, 0, 0, 1, 2, 3, 4 , 0, 0}; | |
punto puntos1[] {{0, 0, 0}, {1, 2, 3}, {4, 0, 0}}; | |
punto puntos2[] {0, 0, 0, 1, 2, 3, 4}; | |
punto puntos3[] {{}, 1, 2, 3, 4}; | |
punto puntos4[] {{}, {1, 2, 3}, {4}}; | |
objeto objetos0[] {0, 0, 0, 0, 1, 2, 3, 4, 5, 0, 0, 100}; | |
objeto objetos1[] {{0, 0, 0, 0}, {1, 2, 3, 4}, {5, 0, 0, 100}}; | |
objeto objetos2[] {{{}}, {{1, 2, 3}, 4}, {{5}, 100}}; | |
objeto objetos3[] {{}, {1, 2, 3, 4}, {5, 0, 0, 100}}; | |
objeto objetos4[] {{}, {1, 2, 3, 4}, {{5, 0, 0}, 100}}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment