Communauté Informatique NDFR.net : probleme de compil dans une fonction en c - Programmation (C/C++, Delphi, VB, etc.)
 
probleme de compil dans une fonction en c
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 25-04-2004, 13:18
Samva's Avatar
Samva Samva is offline
Niaisüre within
 
Join Date: 24-04-2003
Location: Tours
Age: 41
Posts: 2,320
Send a message via ICQ to Samva Send a message via MSN to Samva
Re: probleme de compil dans une fonction en c

recupere l'erreur retournée par la fonction remove via errno...

extern int errno;
et apres tu fais un truc du genre
remove(NomFicSource);
if (errno==EACCESS) printf("impossible d'acceder...");
if (errno==ENOENT) printf("Fichier introuvable blablabla");


Deja ca peut t'apporter un debug...
__________________
For the End-of-the-World spell, press "Ctrl, Alt, Delete."


Reply With Quote
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cours de français Benjy Discussions sur le site et/ou le forum 47 01-05-2006 14:47
Petit probléme avec outlook express !!! Alexlesioux Internet, Réseaux et Sécurité 11 31-08-2004 07:16
Comparatif des gestionnaires de téléchargement Kaspof Articles 106 27-02-2004 15:03
Probléme de lenteurs... chalouf Discussions sur le site et/ou le forum 11 22-01-2003 19:37
Probleme site!! chalouf Discussions sur le site et/ou le forum 4 21-10-2002 21:06

All times are GMT +2. The time now is 16:17.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.