Skip to content

Portable File Analyzer in C using standard library I/O. Counts lines, words, characters, detects text/binary files.

License

Notifications You must be signed in to change notification settings

mrunali0204/file-analyzer-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file-analyzer-lib

File Analyzer (Library Version)

A portable C program that analyzes a file and reports:

  • Lines
  • Words
  • Characters
  • File size
  • Text/Binary detection

Built using C standard library functions. Works on Windows and Linux.

Features

  • Count lines, words, characters
  • Detect text vs binary files
  • File size using fseek/ftell
  • Portable: works on Windows and Linux

Why this project?

This project is designed for beginners learning:

  • File handling in C
  • Buffering concepts
  • Compiler and systems-programming basics

Build & Run

gcc main.c analyzer.c -o analyzer
./analyzer test.txt

About

Portable File Analyzer in C using standard library I/O. Counts lines, words, characters, detects text/binary files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors