Last active
August 29, 2015 14:08
-
-
Save VitaminaCPP/1c318ecf0c2a486f0318 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
// punto es un agregado | |
struct punto | |
{ | |
int x, y, z; | |
}; | |
// punto se puede inicializar con llaves | |
punto p0 = { 1, 2, 3 }; | |
punto p1 = { 1, 2 }; | |
punto p2 = { 1 }; | |
punto p3 = { }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment