Search:

Type: Posts; User: Rezi

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    10,266

    That's exactly what I've been doing since...

    That's exactly what I've been doing since yesterday afternoon.

    while((ch=fgetc(fpout))!=EOF)
    {
    if(ch == let)
    nl++;
    }
    Where nl has already been decalred as an int...
  2. Replies
    18
    Views
    10,266

    I deffinitely get what you're both talking about,...

    I deffinitely get what you're both talking about, it's logical to keep each function short and sweet, but I'm afraid this damn comparision between ch and let is still doing my head in.
  3. Replies
    18
    Views
    10,266

    Yes, I have to have this all in one program. So...

    Yes, I have to have this all in one program. So Input is the first file, I take the data from that, remove spaces and convert to caps, stick it in output. Then take the message in output, count the...
  4. Replies
    18
    Views
    10,266

    Still having a pretty rough time with this. I'm...

    Still having a pretty rough time with this. I'm also using fgetc now, as this says that the pointer will be a character instead of an integer. Judging from what you've said this will be wrong, but...
  5. Replies
    18
    Views
    10,266

    Thank you very much for the fast responses. About...

    Thank you very much for the fast responses. About the void thing, from the moment my lecturer told us what void did it always seemed like a silly idea, but she insists on the main function being...
  6. Replies
    18
    Views
    10,266

    Letter Frequency counting.

    Hi,

    I'm still fairly new at C and have been asked to build a program that will count a number of specified letters to be read from a text file. This is the second stage of the task, the first...
Results 1 to 6 of 7