Strings larger than 256 bytes?
is possible have strings larger 256 bytes?
i have longstring , not array.
thanks
i have longstring , not array.
thanks

yes, can implement class uses long strings. @ code of arduino string class , minor tweaks should able support longer strings.
internally still char-array guess, (or array of char array's)
problem string classes (depends on implementation of course) fragments memory because of continuous alloc/free actions.
most of applications need long strings can redesigned work smaller strings without user noticing it.
can explain why application needs long strings?
internally still char-array guess, (or array of char array's)
problem string classes (depends on implementation of course) fragments memory because of continuous alloc/free actions.
most of applications need long strings can redesigned work smaller strings without user noticing it.
can explain why application needs long strings?
Arduino Forum > Using Arduino > Programming Questions > Strings larger than 256 bytes?
arduino
Comments
Post a Comment