[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]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] Bugg eller tankemiss ??



Snebjørn Andersen wrote:

> On Mon, 15 Mar 1999, J.H.Povlsen wrote:
> > du glemmer  at gange med sizeof(char)
> Er der nogen risiko for at (sizeof(char) != 1) ????

Ifølge gcc-info fylder en char default et kvart ord. Fylder et ord 32 bits
er defaultværdien  sizeof(char)=1.  Størrelsen af en char kan
tilsyneladende, ifølge gcc-info, sættes ved kompilering af gcc
v.h.a af makroen CHAR_TYPE_SIZE.
Men du har da ret i, at man bør undgå brug af gets.
Mvh.

--
Jørn Hedegaard Povlsen




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *