Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

va args

Name: Anonymous 2011-12-06 22:44

How the fuck do they work in C?


void thesefaggots(...){
 //how the fuck do i use them
 //how the fuck do i pass them into another function like
 //`annothersetoffaggots(...)
}

void anothersetoffaggots(...){...}



of everything in C these somehow trip me up every fucking time

Name: Anonymous 2011-12-06 23:31

Try with less faggots. I don't really understand your question (Too faggot)

Name: Anonymous 2011-12-06 23:48

>>2

free(anothersetoffaggots);

less faggots as requested

Name: Anonymous 2011-12-06 23:50

/**
 * This link is provided ''ASS-ISS´´, we are not responsible
 * for any damage or malfunction in anything that happens in
 * the world okay?
 */

http://en.wikipedia.org/wiki/Stdarg.h

Name: Anonymous 2011-12-07 0:24

20 milliseconds in Google:
http://c-faq.com/~scs/cclass/int/sx11c.html

Nested calling can't be done, inner functions will have to take a va_list argument.

Name: Anonymous 2011-12-07 0:54

Use varadic templates
in c++

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List