Thread: just not geeting at

  1. #1
    Unregistered
    Guest

    Question just not geeting at

    i want to convert an input file into outputfile.the output must contain every unique character with the no. of its occurence aginst it.not sure what to do.thanx in advance.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    6
    hint: use an array of long's, 256 elements long...

    Code:
    long t[256] = {0};
    int ch;
       .
       .
       .
    t[ch]++;
    
       .
       . 
       .

  3. #3
    Unregistered
    Guest

    not sure

    but how do i determinr the character to increment ?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. plz help me geeting the date is correct or not
    By vijay85 in forum C Programming
    Replies: 1
    Last Post: 03-20-2009, 08:05 AM