[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: [PROGRAMMERING] [c] Læse fil med trekolonner



On Sat, 29 May 2004 18:02:17 +0000 (UTC)
Christian Nielsen <sslug@sslug> wrote:

> inClientFile >> Comp[i] >> MolePercent[i] >> MolecularWeight[i];


Hvorfor bruger du ikke Linux C++, d.v.s. GNU C++, som er ret god?
Evt. med noget kdevelop eller sourcenavigator?

Hvis du ikke skriver din egen input parser (brug evt. regex eller
lex/yacc) så kan du enten bruge

   1) sscanf(3) (prøv at undgå scanf(3))

   2) strtof(3) og/eller strtod(3)

   3) atof(3), en wrapper for strtof(3)


-- 
donald_j_axel snabela get2net.dk -- http://d-axel.dk/


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

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