Re: [cc65] Re: cc65/C questions

From: Adam Thornton <adam1fsf.net>
Date: 2006-09-14 01:10:47
>> Message-ID: <20060909144856.GB28453@trixie.musoftware.de>
>
> On Thu, Sep 07, 2006 at 10:00:17AM -0600, Tom Watt wrote:
>> 1. Is there a function that will separate a string into an array  
>> of strings
>> based on spaces?
>

I missed the original question, but strtok() in libc is the classic  
function to do this; strsep is the newer way to do it.

#include <string.h> to get either of them.

I have no idea if cc65 implements it in its standard library, though.

Adam

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 14 01:12:27 2006

This archive was generated by hypermail 2.1.8 : 2006-09-14 01:12:30 CEST