R
again spoking ur nose.
r u harlot!!!dont be silly ,ur not at that level atleast.R u meet some plonker
except me????
pete said:Thomas said:FYI, the mem*() functions are not string functions. The string
functions are str*(), and work with NULL terminated character
arrays.
Who told you that ?
N869
7.21 String handling <string.h>
7.21.1 String function conventions
[#1] The header <string.h> declares one type and several
functions, and defines one macro useful for manipulating
arrays of character type and other objects treated as arrays
of character type. The type is size_t and the macro is
NULL (both described in 7.17). Various methods are used for
determining the lengths of the arrays, but in all cases a
char * or void * argument points to the initial (lowest
addressed) character of the array. If an array is accessed
beyond the end of an object, the behavior is undefined.
void* arguments have nothing to do with any functions
that start with str*.
memcmp() has no side effects, which is part of the reason
that memcmp() does not belong in the same group
of string functions, as those which OP asked about.
On 28 Sep 2003 20:08:28 -0700, in comp.lang.c ,
I've no idea what your native tongue is, but that collection of words
above is utterly meaningless.
Thomas said:Thomas said:pete wrote:
Thomas Matthews wrote:
ROSY wrote:
1. How would you use the functions memcpy(),
memset(), memmove()?
There is also memcmp().
Are you out of your MIND !?
OP's question is CLEARLY only about the string functions
which return type pointer to void, and which have side effects.
Anyway, the answer to the question is here:
http://anubis.dkuug.dk/jtc1/sc22/wg14/www/docs/n869/
FYI, the mem*() functions are not string functions. The string
functions are str*(), and work with NULL terminated character
arrays.
Who told you that ?
N869
7.21 String handling <string.h>
7.21.1 String function conventions
[#1] The header <string.h> declares one type and several
functions, and defines one macro useful for manipulating
arrays of character type and other objects treated as arrays
of character type. The type is size_t and the macro is
NULL (both described in 7.17). Various methods are used for
determining the lengths of the arrays, but in all cases a
char * or void * argument points to the initial (lowest
addressed) character of the array. If an array is accessed
beyond the end of an object, the behavior is undefined.
void* arguments have nothing to do with any functions
that start with str*.
I'm not correlating a void * with string functions.
Harbison & Steele, 3rd edition
There's always the issue of whether you are trolling or not.
Joona I Palaste said:I find it amazing how a C coder's competence is usually inversely
proportional to his/her usage of "U" and "ur" instead of "you" and
"your". Is it written somewhere in stone or is it just a rule of
thumb?
I reckon there's some smart money to be made writing a new language in
d00dsp33k.... just think of all the idiots that would buy your
compiler, just so as to be up with the rest of the lusers.
Slartibartfast said:And how exactly does that differ from other abbreviations that are
commonly used here - such as IMHO, IIRC, AFAIK, HTH, HAND, etc etc??
Oh yes - they irritate you - therefore the user must be a moron.
carl mcguire said:These aren't abbreviations, they are acronyms.
Slartibartfast wrote: said:And an acronym is :
"An identifier formed from some of the letters (often the initials)
of a phrase and used as an abbreviation" - OED.
Note the word "abbreviation".
And how exactly does that differ from other abbreviations that are
commonly used here - such as IMHO, IIRC, AFAIK, HTH, HAND, etc etc??
Oh yes - they irritate you - therefore the user must be a moron.
etc??
They aren't used by complete illiterates simply because they're too lazy
to learn to spell properly - rather, they're used by (often very)
literate netizens to significantly reduce the space taken by
often-recurring phrases with, essentially, the function of social
lubricant.
And how exactly does that differ from other abbreviations that are
commonly used here - such as IMHO, IIRC, AFAIK, HTH, HAND, etc etc??
Oh yes - they irritate you - therefore the user must be a moron.
Is d00dsp33k anything like California codin'?
Mark McIntyre said:and if you can't be polite, then you should go away.
The second lot are acronyms for otherwise long and cumbersome phrases.
"u" and "ur" save exactly two bytes each. Wow.
A large majority of those who use SMS-speak or d00dsp33k are also
self-evidently lusers.
Slartibartfast said:<snip>
Joona's point, as well you know, had nothing to do with characters saved.
Please explain the logic underlying that conclusion. You must be personally
acquainted with every SMS user worldwide.
Thomas said:I'm not correlating a void * with string functions.
I'm stating that string functions use the NULL character '\0'
In said:Nitpick: NUL, not NULL. Or just the overloaded `null`.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.