Recent content by neo programmer

  1. N

    Program to Count Character Occurrences in a File

    i took 65 because 65 is ASCII equivalent of 'a'. as i wnt to get all the alphabets(both uppercase and lowercase) so i used size of d array as 58. 65 + 58 =123 which is ASCII equivalent of 'Z'. i still don't know how to correct the filename part in d code.
  2. N

    Program to Count Character Occurrences in a File

    this is something different which i wrote #include<iostream> #include<fstream> #include<stdlib.h> using namespace std; int main() { fstream file_ptr; char filename[81]; // Get name of file cout << "Enter the filename (make sure that the test file and the program is in the same...
  3. N

    Program to Count Character Occurrences in a File

    hi! i was writing a program which asks the user to input the file name. the program then reads the file and prints out how many times each characeter has occurred in the file(uppercase and lowercase are different). Pls help me out. this is what i have got-i know this is not correct...
  4. N

    Need program for roman numerals

    In speed trials experienced operators of the abacus outperform western-style calculator users. Here we will teach the computer how to do basic arithmetic in the style of an early calculating machine, the Roman abacus, but it is unlikely to make the calculation any faster for the computer! The...
Back
Top