A voir également:
- Petit probleme dargument en language c
- Petit colis distribution - Forum Consommation & Internet
- [Sujet Groupé] Shein livraison sans réception ✓ - Forum Consommation & Internet
- Excel trier du plus grand au plus petit - Guide
- Ème en petit ✓ - Forum LibreOffice / OpenOffice
- Petit 2 clavier iphone ✓ - Forum iPhone
2 réponses
tu prendre ton argv et tu lui ajouter un "/" au debut avec la fonction strcat
ex:
/* strcat example */
#include <stdio.h>
#include <string.h>
int main ()
{
char str[80];
strcpy (str,"these ");
strcat (str,"strings ");
strcat (str,"are ");
strcat (str,"concatenated.");
puts (str);
return 0;
} il "affiche these strings are concatenated."
ex:
/* strcat example */
#include <stdio.h>
#include <string.h>
int main ()
{
char str[80];
strcpy (str,"these ");
strcat (str,"strings ");
strcat (str,"are ");
strcat (str,"concatenated.");
puts (str);
return 0;
} il "affiche these strings are concatenated."