whats the prefix C in C-char* string suppose to mean? is it to show that char is a constant?
whats the prefix C in C-char* string suppose to mean? is it to show that char is a constant?
My guess would be that it simply refers to the C language. Perhaps some context where you saw this might help?
I might be wrong.
Quoted more than 1000 times (I hope).Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
I'm with anon-
It most likely simply refers to a C pointer, and I might add I've never once seen that exact phrase used. But if one hangs out on Win32 VB and C# forums, (and hate to put Delphi in there but I must), one is bound to see all sorts of similar abominations.
When you are passing strings between things (such as DLL's) you need to know exactly what kind of strings they are. (Null-terminated? Length-prefixed? etc)
I suppose "C-char*" seems as good as the next. *shrug* I'd love to see the context there as well.