On Thu, 7 Nov 2002, Mark Garringer wrote: > > snprintf(buf, sizeof(buf), "coins %s", currency_types[cur]); > > obj->name = strdup(buf); > > That is so funny. I was just coming home from work and it hit me. "Why don't > I put "coins %s" in the snprintf! :) That works too and saves a little space I'm sure. My money_info was set up so that it included coins and such already. Sorry I didn't mention that fact before. > Thanks for you help! Welcome. -Mathew -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT