TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: GEORGE WHITE
from: AUKE REITSMA
date: 1998-02-24 20:39:00
subject: Atotm

Hi George,
On 21 Feb 98, 08:26, you wrote to Javier Kohen
 JK>> "Converts strings formated as asctime output to struct tm."
 JK>> I'd like commentaries on this one.
 GW> OK
...
 JK>> struct tm atotm(const char *str) {
 GW> As you are returning the struct, I think it really needs to be
 GW> static.
Returning a struct is perfectly valid. Though antique compilers won't handle 
it. Now if he were returning a _pointer_ to struct ...
Greetings from
 _____
 /_|__|  Auke Reitsma, Delft, The Netherlands.
/  | \  --------------------------------------
--- GEcho 1.00
---------------
* Origin: Home by the C (Auke.Reitsma@net.hcc.nl) (2:281/400.20)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.