bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] output.h outputf "..."


From: Michael Petch
Subject: Re: [Bug-gnubg] output.h outputf "..."
Date: Mon, 30 Mar 2015 22:53:54 -0600
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0


On 2015-03-30 9:19 PM, Eric Sepich wrote:
> If "..." was a part of the C++ language I was not aware. This use of
> "..." must then be defined somewhere in the source code. Could I get
> some more information on what "..." is referencing in this case?
> 

... (aka ellipsis) is used to define variadic functions. It is a feature
supported both in C and C++ . printf which can take a variable number of
arguments uses this method.

cppreference.com has C++ information:

http://en.cppreference.com/w/cpp/utility/variadic

ISO C information can be found here:

http://www.gnu.org/software/libc/manual/html_node/Variadic-Functions.html

-- 
Michael Petch
GNU Backgammon Maintainer / Developer
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

[Prev in Thread] Current Thread [Next in Thread]