adding chars to a string

D

Dan Pop

In said:
David Rubin said:
[...] Also, starting a function with 'str' violates the
implementation namespace.

But only if followed by a lowercase letter, thus the OP is safe
declaring a function named strAddChar.

External identifiers need not be case sensitive in C89!

Dan
 
S

Simon Biber

Christopher Benson-Manica said:
Well, it isn't conforming, but he could easily have a compiler that
supports this extension...

Such a compiler is not a C compiler, so it is off-topic.
 
I

Irrwahn Grausewitz

In said:
David Rubin said:
[...] Also, starting a function with 'str' violates the
implementation namespace.

But only if followed by a lowercase letter, thus the OP is safe
declaring a function named strAddChar.

External identifiers need not be case sensitive in C89!

Umph, right, I was referring to C99 but didn't say so.
 

Ask a Question

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.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top