Jump to content

Talk:Stdarg.h

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 75.119.90.35 (talk) at 18:05, 24 October 2013. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconC/C++ Start‑class High‑importance
WikiProject iconThis article is within the scope of WikiProject C/C++, a collaborative effort to improve the coverage of C and C++ topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
HighThis article has been rated as High-importance on the importance scale.
Taskforce icon
This article falls within the scope of C.

Becoming a manual page?

This article seems to be a tutorial or manual page. I question the need for this page to exist at all. 75.119.90.35 (talk) 18:05, 24 October 2013 (UTC)[reply]

Untitled

C++

> though permitted, is deprecated in C++.

So what are the alternatives to in C++ ? --RzR 13:13, 3 December 2007 (UTC)[reply]

Using <cstdarg>. Eric119 00:43, 4 December 2007 (UTC)[reply]

Damm useful page! :) —Preceding unsigned comment added by 210.212.160.101 (talk) 07:08, 12 March 2009 (UTC)[reply]

Infinite number of arguments

Shouldn't that be "arbitrary number of arguments"? You can't even create a call containing an infinite number of arguments, much less execute that call. —Preceding unsigned comment added by 79.120.193.114 (talk) 14:18, 24 November 2009 (UTC)[reply]

Varg pass-through

Is it possible for a varg function to process a couple of args, then pass the tail of the varg list through to another varg function? It would be useful to discuss that case. — MaxEnt 19:33, 14 June 2010 (UTC)[reply]

Terminating with -1

I was wrong: this example shows the use of -1 as an end-of-args marker, whereas the man page example (man stdarg) just keeps pulling arguments as long as more of them are demanded by the format string, the same as printf does, which is why there is no need for an end-of-args marker value. But I still think i >= 0 is a better test than i != -1. —Preceding unsigned comment added by 72.208.148.56 (talk) 00:23, 15 October 2010 (UTC)[reply]