1

comment faire pour pour qu'une variable reste en mémoire après l'execution d'un programme? (comme un hightscore) Au début de mon prog, je déclare la varible par
int hscore=0
et a chaque fois que je lance mon prog, ca revient a zéro.
Comment faire??

2

parce que tu fait int hscore=0, tu le remet a zero toi meme !!!!

sinon, ca marche pas quand un prog est archivé...le mieux c'est de faire un fichier type que tu cré a partir du prog et que tu archive une fois les hiscore desarchiver....

y a un exemple dans la faq de tigccc, comment creer une variable type HSC....

vala

3

oué le mieux c'est de faire un HISCORE ds le prog et ceux qui veulent le sauvegarder esarchive le prog avnt de le lancer , c la merde d'avoir un fichier sauvegarde ..
"I read the game.dll assembly more easily than you read the joke on the back of your box of Cocoa Pebbles, and have spent the past 2 1/2 years navigating it." ©

4

j'ai compris, j'avais inversé la variable score et hscore et le hscore se remettait a zéro.
C'est vrai que c'est de la merde avec une var externe car avec nonos on peut pirater les scores facilement!

5

bah pas qu'avec NonOS, un simple éditeur hexa suffit ...

6

heu ? il suffit de faire un codage tout simple et personne ne pourra pirater (enfin pas les lamerz koi )
"I read the game.dll assembly more easily than you read the joke on the back of your box of Cocoa Pebbles, and have spent the past 2 1/2 years navigating it." ©

7

bof une simple serie de multiplication divisoin ca oit surffir largement smile
"I read the game.dll assembly more easily than you read the joke on the back of your box of Cocoa Pebbles, and have spent the past 2 1/2 years navigating it." ©

8

C clair qu'avec un codage tout con, personne y comprendra quoi que ce soit => pas de pb de triche !
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

9

pas besoin de codage de ouf tongue
"I read the game.dll assembly more easily than you read the joke on the back of your box of Cocoa Pebbles, and have spent the past 2 1/2 years navigating it." ©

10

juste un turc du style
diviser par 4, multiplier par 9, et encore une ou deux opérations, ajouter 459584, ou quelque chose comme ça...
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

11

oué mais il fo prendre des fonction avec une bijection genre sqrt et ²
"I read the game.dll assembly more easily than you read the joke on the back of your box of Cocoa Pebbles, and have spent the past 2 1/2 years navigating it." ©

12

et si ca suffit pas on peut tjours utiliser les fonctions de rsa.h grin