Thread: how to replace printf with sprintf?

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    9

    Thumbs up how to replace printf with sprintf?

    i have to search for a word say printf in the file got as input through command line arguement
    whether printf comes i have to replace it with sprintf

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Double to Int conversion warning
    By wiznant in forum C Programming
    Replies: 15
    Last Post: 09-19-2005, 09:25 PM
  2. Whats Wrong Whith This!?
    By SmokingMonkey in forum C++ Programming
    Replies: 8
    Last Post: 06-01-2003, 09:42 PM
  3. Replies: 4
    Last Post: 04-01-2003, 12:49 AM
  4. Please help debug
    By Wexy in forum C Programming
    Replies: 2
    Last Post: 11-11-2002, 12:40 AM
  5. help with switch statements
    By Wexy in forum C Programming
    Replies: 3
    Last Post: 11-06-2002, 05:44 PM