From: Haakon M. E. <ha...@nh...> - 2003-05-22 11:05:47
|
Hello, Julien! I signed up on the developers list a few weeks ago, because I wanted to do a Norwegian translation of Tuxmath for Windows. I tried with the help of Bill Kendrick - the author - to persuade my development environment, Dev-C++ from www.bloodshed.net, to compile, but no luck. Since then, I haven't had time to look into it any further. In my correspondance with Bill, I too raised the question of manually setting the speed of the arrival of new questions, and he said he would include this. http://www.sonic.net/~nbs/tuxmath_opts.png shows the development version, so you can use this if want to limit the operators without editing the source code directly. The first part of getting sums within a given range is easy. In Microsoft Excel you can do this to create a random whole number within a range: =3DWHOLE_NUMBER(RANDOM()*(B-A)+A) It should be something like this in C: /* Declaring the variables, a and b sets the range */ int a,b; float random_number_within_range; int whole_number; /* Generating random number within the range set by A and B */ /* Converting the random float into a whole number */ whole_number =3D (int) random_number_within_range; Then you need some way to split the result into two integer values for addition, subtraction, multiplication and division. Perhaps this is very easy, as the randomness is already catered for by the initial "sum", but it requires some more thought - at least for me ;-) Yours sincerely, Haakon Meland Eriksen -----Opprinnelig melding----- Fra: Julien Michielsen [mailto:ju...@be...]=20 Sendt: 22. mai 2003 10:22 Til: Tuxmath devel list Emne: [Tuxmath-devel] Great software! But ... I'd like to start with a compliment for the develloppers of tuxmath. I used to think very few software was available for kids, but the programs I found at newbreedsoftware really look great, and do fill much of my need for childrensoftware. Having said this I hope I may make a few points I'm less happy with. I got tuxmath for our sun, who's in his first year of calculus. I was able to strip down some of the higher operators (--operator add --operator subtract only gives adding and subtrating sums), but still the sums are too difficult for him when the outcomes are higher than ten (8+7, etc.). I wonder if it would be possible to set a higher limit to the results of the sums, such that no sums would be asked surpassing a certain fixed level. I looked into the code, but was not able to find the part which generates the numbers for the sums. (I should add here that my knowledge of C is elementary.) I looked if there is an option to slow down the arrivel of the comets, but did not find it. Might this be possible, and how could I achieve it? The version I downloaded was for english speekers. How hard/easy is it to translate the terms to an other language? I'm Dutch, and prefer to educate our children in our own language. I'm quite willing to help solving the questions I asked, and make modifications available for the larger public. (In addition I'll spread the word of these programs: on linux lists and on the school our kids attend) --=20 Julien Michielsen ju...@be... ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Tuxmath-devel mailing list Tux...@li... https://lists.sourceforge.net/lists/listinfo/tuxmath-devel |