rebonjour, en fait j'ai quand meme testé mon programme avec valgrind pour vérifier
mais je comprends rien a ce qu'il me sort meme avec la notice
un ptit coup de pouce svp ?
merci
= Memcheck, a memory error detector.
==6653== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==6653== Using LibVEX rev 1367, a library for dynamic binary translation.
==6653== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==6653== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==6653== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==6653== For more details, rerun with: -v
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x1B8F56BF: index (strchr.S:177)
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x1B8F56D0: index (strchr.S:183)
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x804BFEA: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== Use of uninitialised value of size 4
==6653== at 0x1BB30D99: ??? (_itoa.c:191)
==6653== by 0x1BB34010: vfprintf (vfprintf.c:1534)
==6653== by 0x1BB3B021: fprintf (fprintf.c:32)
==6653== by 0x804C10F: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x1BB30DA1: ??? (_itoa.c:191)
==6653== by 0x1BB34010: vfprintf (vfprintf.c:1534)
==6653== by 0x1BB3B021: fprintf (fprintf.c:32)
==6653== by 0x804C10F: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== Use of uninitialised value of size 4
==6653== at 0x1BB30DBC: ??? (_itoa.c:191)
==6653== by 0x1BB34010: vfprintf (vfprintf.c:1534)
==6653== by 0x1BB3B021: fprintf (fprintf.c:32)
==6653== by 0x804C10F: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x1BB30DC4: ??? (_itoa.c:191)
==6653== by 0x1BB34010: vfprintf (vfprintf.c:1534)
==6653== by 0x1BB3B021: fprintf (fprintf.c:32)
==6653== by 0x804C10F: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x1BB3450C: vfprintf (vfprintf.c:1534)
==6653== by 0x1BB3B021: fprintf (fprintf.c:32)
==6653== by 0x804C10F: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== Conditional jump or move depends on uninitialised value(s)
==6653== at 0x1BB32BA2: vfprintf (vfprintf.c:1534)
==6653== by 0x1BB3B021: fprintf (fprintf.c:32)
==6653== by 0x804C10F: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
fin boucle 0
==6653==
==6653== Invalid free() / delete / delete[]
==6653== at 0x1B9003B3: free (vg_replace_malloc.c:235)
==6653== by 0x804C1ED: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653== Address 0x1BC2C5B0 is 0 bytes inside a block of size 104000 free'd
==6653== at 0x1B9003B3: free (vg_replace_malloc.c:235)
==6653== by 0x804C1CE: main (in /home/hbusson/Desktop/Simulations/simu1/badbadthing)
==6653==
==6653== ERROR SUMMARY: 687237 errors from 10 contexts (suppressed: 23 from 2)
==6653== malloc/free: in use at exit: 1706960 bytes in 19391 blocks.
==6653== malloc/free: 37508 allocs, 18118 frees, 3426804 bytes allocated.
==6653== For counts of detected errors, rerun with: -v
==6653== searching for pointers to 19391 not-freed blocks.
==6653== checked 1665792 bytes.
==6653==
==6653== LEAK SUMMARY:
==6653== definitely lost: 192720 bytes in 2190 blocks.
==6653== possibly lost: 264 bytes in 3 blocks.
==6653== still reachable: 1513976 bytes in 17198 blocks.
==6653== suppressed: 0 bytes in 0 blocks.
==6653== Use --leak-check=full to see details of leaked memory.