no save
Assistance
Achat
News

Forum | programmation
[C]Libération de la mémoire
Huit, le mer. 09 août 2006 à 13:28:13
Bonjour,

je voudrais savoir comment se passe la libération de la mémoire pour des char **, char ***, struct nom **, etc
Par exemple, dans mon cas, j'ai 2 structures :
typedef struct noeud{
int n;
struct noeud **tab;
}Noeud;

typedef struct{
Noeud *racine;
}Graphe;
Comment s'écrirait la fonction int libérerGraphe(Graphe **g) permettant de libérer un graphe.

Merci


Darshu
août 06
Suivant
REPONSES
Darshu
août 06
mamiemando
août 06
Darshu
août 06
mamiemando
août 06
Darshu
août 06
Char Snipeur
août 06
mamiemando
août 06
Huit
août 06
Darshu
août 06
Huit
août 06
Version Web
Réalisé par RedShift
no save