just not geeting at

This is a discussion on just not geeting at within the C++ Programming forums, part of the General Programming Boards category; i want to convert an input file into outputfile.the output must contain every unique character with the no. of its ...

  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21