do you say 'char star' or 'character pointer'
- KungFooMasta
- OGRE Contributor

- Posts: 2087
- Joined: Thu Mar 03, 2005 7:11 am
- Location: WA, USA
- x 16
- Contact:
"char star" is easy to remember, doesn't matter if its the correct term or not, people will know what you're talking about.
Creator of QuickGUI!
- JohnJ
- OGRE Expert User

- Posts: 975
- Joined: Thu Aug 04, 2005 4:14 am
- Location: Santa Clara, California
- x 4
What I use depends on the context: If I'm reading code out loud, I say "char star". If I'm explaining a concept, I say "character pointer" or "byte pointer", depending on which makes the most sense. For example, I might say "this variable is a byte pointer to the locked pixel buffer" for a "char*", or I might say "this variable is a character pointer to the next character being read from the file".
Edit: Also, how do you pronounce "char"? I simply say "char" with a "ch+arr", but I've actually heard it pronounced "care" (kay+err), since that's the way the first part of "character" ("care-akter") is pronounced.
Edit: Also, how do you pronounce "char"? I simply say "char" with a "ch+arr", but I've actually heard it pronounced "care" (kay+err), since that's the way the first part of "character" ("care-akter") is pronounced.
- BRAINLESS
- Goblin
- Posts: 282
- Joined: Tue Jan 04, 2005 6:56 pm
- Location: The Netherlands
Definitely char(acter) pointer over char(acter) star. If someone said char star over the phone to me I'd be wondering what the hell they were talking about, but then I'm dutch and I don't do C/C++ professionally (unfortunately).
Proud member of the OpenFRAG Game Development community
- Jabberwocky
- OGRE Moderator

- Posts: 2819
- Joined: Mon Mar 05, 2007 11:17 pm
- Location: Canada
- x 220
- Contact:
Most of the people I've worked with say "char" as in charred wood. I've always said "care", but co-workers thought that was weird.
It's kinda like coding styles - there are a lot of programmers in the world, and there's inevitably going to be some different "dialects". I don't view any as wrong or right, and mostly just think it's quirky and funny when dealing with some lingo you're not familiar with.
It's kinda like coding styles - there are a lot of programmers in the world, and there's inevitably going to be some different "dialects". I don't view any as wrong or right, and mostly just think it's quirky and funny when dealing with some lingo you're not familiar with.

- Klaim
- Old One
- Posts: 2565
- Joined: Sun Sep 11, 2005 1:04 am
- Location: Paris, France
- x 56
- Contact:
-
Gregor386
- Gnoblar
- Posts: 11
- Joined: Fri Sep 19, 2008 6:01 pm
char pointer.
In Slovenia, we always refer to it as "kazalec", a pointer, never star.
BTW I've tried translating "kazalec" with google translate, so if anyone wants to try from english to slovenian it works great, via versa it gets another meaning.
In Slovenia, we always refer to it as "kazalec", a pointer, never star.
BTW I've tried translating "kazalec" with google translate, so if anyone wants to try from english to slovenian it works great, via versa it gets another meaning.
I was wondering what to write about here, and than I saw the tiny little text on some page. Now I'm telling the world how awesome I am AND that I really like cookies.
