To: | erlug@xxxxxxxxxxxxxx |
---|---|
Subject: | Re: [Erlug] Re: C datatype |
From: | Antonio Pascucci <antonio.pascucci2@xxxxxx> |
Date: | 09 Oct 2002 12:09:20 +0200 |
> > prima devi effettuare il cast da void* a int* e poi puoi utilizzare > l'operatore di indirezione. Quindi il programma diventa: > > void func(void *x) > { > int c = *(int *)x; > printf("Ora funziona: c = %d", c); > } > Ok, ora ho capito, grazie mille!! -- _/\,,,/\_ (_'@ @'_) WolfMan "\/|\/" mitakuye oyasin (>(^)<) '^^^! "Se non sono per me stesso, chi sarà per me? ° E se sono solo per me stesso, che cosa sono? E se non ora, quando?" "...computers are like airconditioners, they stop working if you open Windows" |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [Erlug] Fwd: Atti del Convegno "Il Software Libero per la P.A.", Joker Ltd. |
---|---|
Next by Date: | Re: [Erlug] Fwd: Atti del Convegno "Il Software Libero per la P.A.", Maurizio Lemmo - Tannoiser |
Previous by Thread: | [Erlug] Re: C datatype, Gaetano Bigliardi |
Next by Thread: | [Erlug] OT: Housing, caesar |
Indexes: | [Date] [Thread] [Top] [All Lists] |