[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
[an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]![]() |
![]() |
![]() |
|||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
![]() |
![]() |
![]() |
On Mon, Sep 06, 2004 at 09:27:43PM +0200, Anders S?ndergaard wrote: > int *pointer,tal,hent; > int *pointerto,talto,hentto; > pointer = (int *) malloc(sizeof(int)); > pointerto = (int *) malloc(sizeof(int)); > ... > hent = find_numbers(pointer,tal); > hentto = find_numbers(pointerto,talto); > > while (hent>0) { > printf("%i\n",pointer[hent-1]); /* BOGUS! */ > } > while (hentto>0) { > printf("%i\n",pointer[hentto-1]); /* BOGUS! */ > } ^^^^^^^ pointerto? Rasmus
![]() |
![]() |
![]() |
||||||||||||
|
||||||||||||||
![]() | ||||||||||||||
|
||||||||||||||
![]() |
![]() |
![]() |