fprintf question

This is a discussion on fprintf question within the C Programming forums, part of the General Programming Boards category; just wondering. Is there a way to do concatenation? or do i have to store everything in a string and ...

  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, 09: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, 08:22 PM

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