Skip to content

Actividad 00 (Inception)#2

Open
guillermoar26 wants to merge 5 commits intojgsogo:actividadesfrom
guillermoar26:patch-1
Open

Actividad 00 (Inception)#2
guillermoar26 wants to merge 5 commits intojgsogo:actividadesfrom
guillermoar26:patch-1

Conversation

@guillermoar26
Copy link
Copy Markdown

prueba

@@ -1,4 +1,4 @@

#include <iostream>
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creo que deberías implementar algo dentro de la función message_dream... pero genial. ¡Enhorabuena por tu primer pull-request!!!

image

Copy link
Copy Markdown
Owner

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Casi lo tenemos

Comment thread actividad00/src/message_dream.cpp Outdated
Comment on lines 29 to 33
int main()
{
cout<<message_dream("Hola!", 2, 2)<<"\n"; // HHHHoooollllaaaa!!!!
cout<<message_dream("Soy Ana", 1, 3)<<"\n"; // SSSoooyyy AAAnnnaaa
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigue fallando, te cuento por qué: en un programa sólo puede haber una función con el mismo nombre, el compilador está encontrando dos funciones main, la que yo tenía para que se ejecuten los tests y la que tú has añadido en tu fichero

Vas a tener que eliminar/comentar estas líneas de aquí.

Suggested change
int main()
{
cout<<message_dream("Hola!", 2, 2)<<"\n"; // HHHHoooollllaaaa!!!!
cout<<message_dream("Soy Ana", 1, 3)<<"\n"; // SSSoooyyy AAAnnnaaa
}

Comment thread actividad00/src/message_dream.cpp Outdated
Comment on lines 29 to 32
int main()
{
cout<<message_dream("Hola!", 2, 2)<<"\n"; // HHHHoooollllaaaa!!!!
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tienes que borrar toda la función main para que compile y pasen los tests

Copy link
Copy Markdown
Owner

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@guillermoar26 guillermoar26 reopened this Feb 14, 2021
@guillermoar26 guillermoar26 changed the title Update message_dream.cpp Actividades soluciones EDA Feb 14, 2021
@guillermoar26 guillermoar26 changed the title Actividades soluciones EDA Actividad 00 Feb 28, 2021
@guillermoar26 guillermoar26 changed the title Actividad 00 Actividad 00 (Inception) Feb 28, 2021
@jgsogo jgsogo force-pushed the actividades branch 4 times, most recently from 1ab93ef to e638cb2 Compare March 21, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants