[Coco] C language
Stephen Fischer
SFischer1 at Mindspring.com
Sat Nov 23 18:32:01 EST 2019
I wrote "C" code to determine the working directory.
PM me for location of the code.
SHF
On 11/23/2019 4:27 AM, Mark McDougall wrote:
> On 23/11/2019 3:29 am, Salvador Garcia via Coco wrote:
>
>> Presently, I am working on algorithms to convert a relative file path
>> to an absolute one, given the current working directory.
>
> Unfortunately, string manipulation is not one of C's strengths. And an
> exercise like parsing/converting a file path requires a knowledge of
> pointers, pointer arithmetic, characters, arrays and familiarity with a
> handful of string functions which strictly speaking aren't part of the
> language itself.
>
> Also, in a lot of cases, implementations on microprocessors like the
> Arduino often comprise macros and functions which, aside from being
> unique to the platform, can actually make what you're writing less
> C-like in some respects!
>
> Not that I'm trying to discourage you at all, but merely advising of
> caveats.
>
> Good luck!
>
> Regards,
>
More information about the Coco
mailing list