Résultats de la recherche

Le contenu de la page n’est pas pris en charge dans d’autres langues.
Voir (20 précédentes | ) (20 | 50 | 100 | 250 | 500)
  • bibliothèque standard : malloc, pour l'allocation dynamique de mémoire ; free, pour la libération de mémoire préalablement allouée avec malloc. Deux autres fonctions...
    23 kio (3 180 mots) - 26 novembre 2020 à 01:19
  • l'en-tête stdlib.h : malloc, pour l'allocation dynamique de mémoire. free, pour la libération de mémoire préalablement allouée avec malloc. calloc, pour allouer...
    20 kio (2 772 mots) - 16 avril 2020 à 09:38
  • de retour des fonctions malloc : int *** malloc_3d(int nb_tableau, int lignes, int colonnes) { int i; int j; int***t = malloc(sizeof(*t) * nb_tableau);...
    31 kio (4 128 mots) - 25 juillet 2023 à 12:18
  • des pointeurs non typés. Leur syntaxe est la suivante : malloc(taille) free(pointeur) malloc (abréviation de « Memory ALLOCation ») alloue de la mémoire...
    18 kio (2 560 mots) - 16 avril 2020 à 09:40
  • **i_mR(); \n\n"); printf(" **A = malloc(ar * sizeof(*A));\n\n"); fflush(stdout); getchar(); exit(EXIT_FAILURE); } A[0] = malloc(ar * ac * sizeof(**A) ); if(...
    7 kio (959 mots) - 1 juillet 2023 à 12:18
  • matrice = malloc(sizeof *matrice * LIGNES); // on alloue 4 entrées une pour chaque ligne int j; for (j = 0; j < LIGNES; j++) { matrice[j] = malloc(sizeof...
    12 kio (1 609 mots) - 16 avril 2020 à 09:38
  • **i_mR(); \n\n"); printf(" **A = malloc(ar * sizeof(*A));\n\n"); fflush(stdout); getchar(); exit(EXIT_FAILURE); } A[0] = malloc(ar * ac * sizeof(**A) ); if(...
    7 kio (969 mots) - 15 septembre 2023 à 21:52
  • _GNU_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> /* malloc */ int main(void) { /* Les fonctions permettant de manipuler les chaînes...
    13 kio (1 707 mots) - 16 avril 2020 à 09:39
  • **i_mR(); \n\n"); printf(" **A = malloc(ar * sizeof(*A));\n\n"); fflush(stdout); getchar(); exit(EXIT_FAILURE); } A[0] = malloc(ar * ac * sizeof(**A) ); if(...
    4 kio (445 mots) - 30 juin 2023 à 21:04
  • { int coeff_nb_pls_Px0 = ++coeff_nb; int i = 1; double *Px = (double*) malloc( coeff_nb_pls_Px0 * sizeof(double)); if(!Px) { printf(" I was unable to...
    1 kio (135 mots) - 2 février 2023 à 00:17
  • **i_mR(); \n\n"); printf(" **A = malloc(ar * sizeof(*A));\n\n"); fflush(stdout); getchar(); exit(EXIT_FAILURE); } A[0] = malloc(ar * ac * sizeof(**A) ); if(...
    4 kio (548 mots) - 30 juin 2023 à 11:28
  • int ar = r + C1; int ac = c + C1; double **A = malloc(ar * sizeof(*A)); for(; i<ar; i++) A[i] = malloc(ac * sizeof(**A)); A[R_SIZE][OF] = ar; A[C_SIZE][OF]...
    9 kio (1 037 mots) - 15 avril 2023 à 00:06
  • int ar = r + C1; int ac = c + C1; double **A = malloc(ar * sizeof(*A)); for(; i<ar; i++) A[i] = malloc(ac * sizeof(**A)); A[R_SIZE][OF] = ar; A[C_SIZE][OF]...
    9 kio (1 018 mots) - 15 avril 2023 à 00:08
  • erreur volontaire ! char *copie_chaine(const char *source) { char *chaine = malloc(strlen(source)); if (chaine != NULL) { strcpy(chaine, source); } return...
    15 kio (1 938 mots) - 18 juin 2023 à 22:39
  • VÉRIFIEZ QUE TOUTE DEMANDE D'ALLOCATION MÉMOIRE A ÉTÉ SATISFAITE. La fonction malloc renvoie le pointeur NULL lorsqu'il n'y a plus ou pas assez de mémoire. Le...
    2 kio (376 mots) - 7 juin 2008 à 20:40
  • de retour des fonctions malloc : int *** malloc_3d(int nb_tableau, int lignes, int colonnes) { int i; int j; int***t = malloc(sizeof(*t) * nb_tableau);...
    14 octet (42 154 mots) - 25 novembre 2018 à 12:24
  • variable_pointeur1 = malloc(sizeof(struct ma_structure1)); /* allocation dynamique, on réserve de la mémoire pour une structure, malloc renvoit l'adresse...
    12 kio (1 685 mots) - 16 avril 2020 à 09:38
  • 1 ? atoi(argv[1]) : 10; int max_length = 1024; char *s1 = malloc(max_length), *s2 = malloc(max_length); strcpy(s1, "1"); for (int i = 0; i < nb_terms;...
    6 kio (744 mots) - 24 janvier 2022 à 19:46
  • Obtenir la version : redis-server -v Redis server v=6.2.5 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=19d2f4c94e0b6820 sudo apt-get install redis...
    3 kio (902 mots) - 19 octobre 2023 à 17:04
  • Obtenir la version : redis-server -v Redis server v=6.2.5 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=19d2f4c94e0b6820 sudo apt-get install redis...
    4 kio (1 164 mots) - 1 février 2024 à 17:21
Voir (20 précédentes | ) (20 | 50 | 100 | 250 | 500)