C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What does table 21 mean?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards
View previous topic :: View next topic  
Author Message
DrPizza
Guest





PostPosted: Fri Nov 07, 2003 8:16 pm    Post subject: What does table 21 mean? Reply with quote



It's not listing the functions that ctime should contain -- 18.7 para 1
suggests that ctime should contain time(), and paragraph 2 says that ctime
should contain everything from time.h. If this is the case, why are the
functions from time.h (asctime(), clock(), ctime(), difftime(), gmtime(),
localtime(), mktime(), strftime(), time()) not listed in table 21? What's
special about clock()?

--
Now Playing: DuMonde - God Music (Original Mix)


char a[99999],*p=a;main(c,V)char**V;{char*v=c>0?1[V]:V;if(c)for(;(c=*v)&&93^
c;p+=!(62^c)-!(60^c),*p+=!(43^c)-!(45^c),44^c||read(0,p,1),46^c||putchar(*p)
,91^c||(v=*p?main(-1,v+1),v-1:main(0,v)),++v);else for(;c+=!(91^*v)-!(93^*v)
;++v);return v;} /* [email]drpizza (AT) battleaxe (DOT) net[/email] brainf*** program as argv[1] */


---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]

Back to top
Ben Hutchings
Guest





PostPosted: Mon Nov 10, 2003 6:56 pm    Post subject: Re: What does table 21 mean? Reply with quote



"DrPizza" wrote:
Quote:
It's not listing the functions that ctime should contain -- 18.7 para 1
suggests that ctime should contain time(), and paragraph 2 says that ctime
should contain everything from time.h. If this is the case, why are the
functions from time.h (asctime(), clock(), ctime(), difftime(), gmtime(),
localtime(), mktime(), strftime(), time()) not listed in table 21? What's
special about clock()?

The rest of <ctime> is described in clause 20.5 ("Date and time"). clock()
is described in clause 18 ("Language support") because it returns an amount
of time used, probably discontinuously, rather than a point or duration in
real time.

---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]


Back to top
James Kuyper
Guest





PostPosted: Tue Nov 11, 2003 5:01 am    Post subject: Re: What does table 21 mean? Reply with quote



[email]drpizza (AT) anti-flash (DOT) co.uk[/email] ("DrPizza") wrote in message news:<vqjbki5jkkm379 (AT) corp (DOT) supernews.com>...
Quote:
It's not listing the functions that ctime should contain -- 18.7 para 1
suggests that ctime should contain time(), and paragraph 2 says that ctime
should contain everything from time.h. If this is the case, why are the
functions from time.h (asctime(), clock(), ctime(), difftime(), gmtime(),
localtime(), mktime(), strftime(), time()) not listed in table 21? What's
special about clock()?

Tables 19 through 23 list only those parts of the C standard library
that they've chosen to classify as "Other runtime support". <cstdlib>,
in particular, contains a great many more things than are listed in
Table 23. For instance, malloc() is listed in Table 33.

---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]


Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language, library and standards All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.