Thread: fprintf question

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    61

    fprintf question

    just wondering. Is there a way to do concatenation? or do i have to store everything in a string and pass it in.

    e.g:

    fprintf(stdout, "hello" + address); //i noe this is incorrect, jus to make my point.

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    61
    i got it. fprintf(stdout, "hello %s", address); thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. program not working...please look at this
    By JOlszewski in forum C Programming
    Replies: 3
    Last Post: 01-30-2006, 10:33 PM
  3. fprintf to stderr crash programs
    By jlai in forum Windows Programming
    Replies: 2
    Last Post: 04-12-2005, 08:51 AM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM