Re: gets() and "string" variable type

new topic     » goto parent     » topic index » view thread      » older message » newer message

I think I understand your "*4" question a little bit better...

Euphoria assumes that longs and pointers are the same size, namely 4 bytes. The
compiler takes care of the "*4". There is no byte addressing done, it's all done
by 4.

Does that help any? The pointer arithmetic takes the type's sizeof into account
automagically.

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu