Pagini: [1]   În jos
  Imprimă  
Ajutor Subiect: sigabrt  (Citit de 1689 ori)
0 Utilizatori şi 1 Vizitator pe acest subiect.
lache92
Strain


Karma: -10
Deconectat Deconectat

Mesaje: 18



Vezi Profilul
« : Martie 13, 2008, 22:54:21 »

de ce apare aceasta lucru la testare?
Memorat
rEbyTer
Vorbaret
****

Karma: -85
Deconectat Deconectat

Mesaje: 154



Vezi Profilul
« Răspunde #1 : Martie 13, 2008, 23:27:03 »

On POSIX-compliant platforms, SIGABRT is the signal sent by computer programs to abort the process. In source code, SIGABRT is a symbolic constant defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.

©Wikipedia (See the original page)

Te rog fi mai explicit când scrii ceva...Nu toţi înţeleg ceea ce vrei tu să zici .. Deasemenea Google este prietenul tău.
Verificăţi sursa, eventual postează câteva bucăţi de cod care ţi se par suspecte.
Memorat
wefgef
Nu mai tace
*****

Karma: 1049
Deconectat Deconectat

Mesaje: 3.008


razboinicu' luminii


Vezi Profilul
« Răspunde #2 : Martie 13, 2008, 23:35:19 »

Unde ai vazut sigabrt? Din cate tin minte apare mesajul asta daca ai un assert care crapa.
Memorat

omului i-au fost date instinctele pentru a supravietui, nu pentru a fi sclavul lor.
rEbyTer
Vorbaret
****

Karma: -85
Deconectat Deconectat

Mesaje: 154



Vezi Profilul
« Răspunde #3 : Martie 13, 2008, 23:40:15 »

Cod:
/* assert example */
#include <stdio.h>
#include <assert.h>

int main ()
{
  FILE * datafile;
  datafile=fopen ("file.dat","r");
  assert (datafile);

  fclose (datafile);

  return 0;
}
In this example, assert is used to abort the program execution if datafile compares equal to 0, which happens when the previous call to fopen was not successful.

©cplusplus.com (See original page here.)

nu ştiam de assert până acuma..  Annoyed

Memorat
Pagini: [1]   În sus
  Imprimă  
 
Schimbă forumul:  

Powered by SMF 1.1.19 | SMF © 2006-2013, Simple Machines