Created
August 31, 2014 16:55
-
-
Save VitaminaCPP/27ab2993f186884d5ab2 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
std::vector<int> f = { 1, 1, 2, 3, 5, 8, 13, 21 }; | |
// Creamos el objeto-funcion | |
imprimidor imprime; | |
for (auto n : f) | |
{ | |
// Usamos el objeto-funcion | |
imprime(n); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment