[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] C programming, variable size array



On Friday 12 December 2003 1:46 pm, Debian User wrote:
> if you really have to do it in a low-level language, do it in
> assembly native to that processor. you can even write them inline
> within your C code.
>
> asm(" mnemonic_instruction operand, operand");
>

Hey, I wouldn't be surprised if some IBM mainframe had a single 
instruction that would read console input and fill a dynamically-sized 
array. ;)

-- 
Wesley J. Landaker - wjl@icecavern.net
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: pgpOb97LbnBZy.pgp
Description: signature


Reply to: