Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

error just happens

Name: Anonymous 2009-04-26 16:48

printf("reading input image ... \n");
   
    /*unidata.image = (image_ptr*)read_pnm(argv[1], &(unidata.rows), &(unidata.cols), &type);
    */
   
    printf("hello.jpg");
    printf("image read successfully \n");
    printf("rows=%d, cols=%d, type=%d \n", unidata.rows, unidata.cols, type);
    /* error here*/
    printf("well");

the errors are coming between  the two final printf statements. when the read_pnm() is left uncommented it is a segmentation fault, when commented it is a floating point exception.

what the fucking shit, /prog/?

Name: Anonymous 2009-04-26 17:51

>>13
Exception: PostQuoteError

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List