Search:

Type: Posts; User: ratneshp

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    4,664

    I think you should not call fgetc() in a for loop...

    I think you should not call fgetc() in a for loop , it should be called in a while loop till EOF.
  2. Replies
    15
    Views
    4,664

    You second try doesn't make any sense. I think it...

    You second try doesn't make any sense. I think it is completely wrong and it is going nowhere. You first logic was correct.
  3. Replies
    15
    Views
    4,664

    I don't think there is any problem is the code ,...

    I don't think there is any problem is the code , I checked the same cod in the vc++ and it is working fine.
    I am just giving the code snippet of what I tried in hurry:-

    #include<stdio.h>

    void...
Results 1 to 3 of 3