strange prototype [modified]
-
Hey, I just came across this strange prototype. This is really weird.
void comm_perror(int error, char *format, ...)
Does anyone have a clue to what the ... parameter is suppose to mean. This is actually a real function in one of the source codes I was reviewing If anyone has an answer to this question please keep me posted Cheers, Jay :) -- modified at 17:08 Friday 7th July, 2006 -
Hey, I just came across this strange prototype. This is really weird.
void comm_perror(int error, char *format, ...)
Does anyone have a clue to what the ... parameter is suppose to mean. This is actually a real function in one of the source codes I was reviewing If anyone has an answer to this question please keep me posted Cheers, Jay :) -- modified at 17:08 Friday 7th July, 2006It allows you have Variable Arguments, like with printf, etc. Here's the first article on CP search finds. http://www.codeproject.com/cpp/argfunctions.asp[^]
- S 50 cups of coffee and you know it's on!