Thread: search a string in a file

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Dr Dipshi++ mike_g's Avatar
    Join Date
    Oct 2006
    Location
    On me hyperplane
    Posts
    1,218
    He's in school taking a C course.
    Who said that? If its educational then its fine. If its just a matter of getting a task done then it make sense to do it the easy way.

  2. #2
    Registered User
    Join Date
    Oct 2009
    Posts
    6
    I want this particular thing to happen with the piece of code I have pasted.
    "Welcome to C. I love programming.like"

    That is not happening. I want to figure out why that is not happening. There is defninitely a small flaw in the code why it is not appending.

    I am a student and Coding can be done in 100 different ways.
    if u could make the below sentence to work with the same code that i pasted

    "Welcome to C. I love programming.like" this is fine with me...
    damn nothing is being written into log.txt not in the middle not at the end

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    6
    mike_g thanks for all the help..but had i known python why will I be posting a help in the C forum. for me to proceed with my assignment nothing is being changed in the file after appending...had something been written i could proceed with so many other functions fgetpos fsetpos some how gone ahead....nothing is being changed after closing the file...something that i am not aware(which of course i want to learn) of is happening in the code

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. String issues
    By The_professor in forum C++ Programming
    Replies: 7
    Last Post: 06-12-2007, 09:11 AM
  3. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM
  4. Something is wrong with this menu...
    By DarkViper in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2002, 11:06 PM

Tags for this Thread