Skip to content

giriflint/count-character-occurances

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# Count Character Occurances
Hello!

We'd like you to write a small executable in C that:

    * Takes in a filepath as a command line argument
    * Counts the number of instances of each character in that file
    * Prints the number of instances of each character to stdout

In addition:

    * Please include any build scripts/makefiles/etc used to build your C
      executable
    * Please include a `-h` option, for sanity

You can generate a test file by doing: `./generate_test_file.py -o output.txt`

If it helps, you can also output all the characters used to generate the random
files by doing: `./generate_test_file.py --print-chars`

## Submitting Solutions
When finished, please submit your solution as a forked repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published