Search:

Type: Posts; User: ktntech

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,115

    file writting & loop problem

    My problems are these, what my program should do is read in from a file scmemail.txt, and write out to a file email.txt I've had this working but have lost it.

    I also need to call a function...
  2. Replies
    1
    Views
    1,501

    printing a string

    How do I print a string printf(%?
  3. Thread: strok

    by ktntech
    Replies
    1
    Views
    2,267

    strok

    Can anyone please tell me why my program will not compile

    I'm trying to read a file into my program and what I would like to do is ignore any line starting with a # and the subsequent lines that...
  4. Thread: strtok

    by ktntech
    Replies
    5
    Views
    1,683

    strtok

    So does this mean that if I was to use strtok it would just point to what is tokenised and I would then have to pull that info out and assign it to another string ??

    I appologise for my ignorance.
  5. Thread: strtok

    by ktntech
    Replies
    5
    Views
    1,683

    Thank you for your help Salem, much much...

    Thank you for your help Salem, much much appreciated.



    Can you tell me what is the difference between this method and using the strtok command.

    Thanks again
  6. Thread: strtok

    by ktntech
    Replies
    5
    Views
    1,683

    strtok

    Can anyone please help, I'm trying to read a file into my program and what I would like to do is ignore any line starting with a # and the subsequent lines that start with & tokenise.

    for example...
Results 1 to 6 of 6