Like Tree2Likes
  • 2 Post By ObjectWithBrain

Infinite parameters

This is a discussion on Infinite parameters within the C Programming forums, part of the General Programming Boards category; How would one go about implementing a function that took a variable and infinite number of parameters such as printf?...

  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    21

    Infinite parameters

    How would one go about implementing a function that took a variable and infinite number of parameters such as printf?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,833
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    21
    Never heard of it. Could you explain a bit more? Thanks.

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    21
    Actually don't. I'll look it up. Then I'll ask questions.
    Salem and TheBigH like this.

  5. #5
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,676
    Quote Originally Posted by ObjectWithBrain View Post
    Actually don't. I'll look it up. Then I'll ask questions.
    That red text in Salem's reply is a link. Click it and read the description and example. Google will have plenty more if you need it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Infinite loop!!!
    By Bizmark in forum C Programming
    Replies: 3
    Last Post: 02-21-2009, 12:09 PM
  2. infinite stupidity
    By MarlonDean in forum C++ Programming
    Replies: 8
    Last Post: 05-20-2008, 08:33 AM
  3. Infinite Loop!!!
    By Frantic- in forum C++ Programming
    Replies: 3
    Last Post: 12-13-2004, 06:39 PM
  4. A function with infinite parameters
    By Xzyx987X in forum C Programming
    Replies: 7
    Last Post: 03-03-2004, 04:42 PM
  5. infinite loop
    By dukemarlon in forum C++ Programming
    Replies: 11
    Last Post: 11-26-2002, 09:00 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21