[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] C-programmering i MS Visual Studio



"Jesper" <sslug@sslug> writes:

[snip]

> jeg forstårbare ikke hvilken nytte atoi så gør i det her eksempel...
> 
> 
> 
> er det hvis brugeren fx skriver "about 65 kilos" eller hva?

Hvis brugeren skriver det er man på den. atoi laver ingen kontrol af
input. atoi svarer til at kalde strtol med nogle specielle argumenter,
der gør at man ikke laver kontrol af input. atoi bør kun bruges i
situationer hvor man ved at input er velformet. 

Og så burde du lige tage og læse op på de mest elementære netikette
retningslinjer. Bundcitater er generelt ikke velset på sslug's
mailinglister.

-- 
Christian Hemmingsen
P.L.U.R.                                   "Druk for fred!"
"My freedom of speech implies your freedom to be offended."
--Unknown


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 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] *