SetRoot told me through a comment that came to a C + + that will help you learn words in English, in his own words:
I liked the idea of doing a little 'sketch' of his idea precisely because we need to use the code from my last post: Random numbers without repeating in C++ . So my algorithm goes like this:
Se me ocurrio hacer un programa para aprender ingles y creo que los tiros tambien van por ahi corrígeme:
1 llenar 1000 palabras
2 agruparlas por alguna relacion como emociones articulos y otros(para esto quisiera usar una matriz para acceder a ella mas facil aunque 2 matrices tambien creo q me van :s con punteros y eso ,s)
3 ejecucion: con un par de cases hacer un menu que me permita lanzar 20 palabras al azar(con sran o ran creo + time) con su significado
y despues que me permita hacer un tipo de examen o test con esas mismas palabras desordenadas que cada acierto valga algo para ganar puntos y asi involucrar a los amigos y familiares
I liked the idea of doing a little 'sketch' of his idea precisely because we need to use the code from my last post: Random numbers without repeating in C++ . So my algorithm goes like this:
- Create an array string type N rows and 2 columns, the first column are the words in English, the second in Spanish.
- Order the number of words that the user wants to store.
- Getting that number of words and display them randomly.
- Delete the words and begin to ask the meaning of each.
- Compare the response of the user with the correct answer.
- Calculate your score and display it.
The code is this:
As I said before, it is only a sketch, but perhaps the starting point for a good project. To optimize think they should add a few things:
- Get the word pairs from a database
- Sort by category
- That does not matter if the answer is case sensitive
- Improve user interaction
0 comments:
Post a Comment