|
Sujet : [C] Petit exercice ... |
| Tetragrammaton IHVH |
robbystar a écrit a écrit :
Petite correction :)
- l'opérateur new c en C++ (en C c malloc)- pour utiliser rand() il faut initialiser le générateur de nombres aléatoires avec srand() (inclus dans time.h ou stdlib.h je sais plus)
Voilà! - :hello:
|
Chuttt.... fallait pas le dire :D et puis rand() marche très bien sans appel à srand(), simplement il donnera toujours la même séquence. |