A simple system to track your cattle by breed, age, health, and production group.
- Mac: Press
Cmd + Space, type "Terminal", press Enter - Windows: Press
Windows + R, type "cmd", press Enter - Linux: Press
Ctrl + Alt + T
Type this and press Enter:
cd /Users/nacho/CattleManagerType this and press Enter:
make cattle_managerType this and press Enter:
./cattle_managerThat's it! The program will start and show you a simple menu.
Here's what the Cattle Management System looks like in action:
Adding new cattle to your herd
Once the program starts, you'll see a simple menu. Just type the number of what you want to do:
- Add Cow - Add new cows to your herd
- Find Cow - Look up specific cows
- Count Cows - See how many cows you have by breed/age
- View All Cattle - See all your cattle (load data first)
- Remove Cow - Remove cows from your herd
- Add Note - Add important notes about each cow
- See Note - See notes about specific cows
- Load Data - Load your saved cattle data
- Save Data - Save your cattle data to file
- Exit - Close the program
Each cow has a unique ID like: s_0_2_1_0_5
- s_0 = Yacumeño breed
- s_1 = Chaqueño breed
- s_2 = Chusco breed
- s_3 = Saavedreño breed
- s_4 = Holstein (imported)
- s_5 = Brahman (imported)
- s_6 = Angus (imported)
- s_7 = Hereford (imported)
Age Groups:
- 0 = Calf (0-6 months)
- 1 = Young (6-24 months)
- 2 = Mature (2-8 years)
Health Status:
- 0 = Excellent
- 1 = Good
- 2 = Fair
- 3 = Under treatment
- 4 = Quarantine
- 5 = Pregnant
Production Group:
- 0 = Breeding
- 1 = Dairy
- 2 = Meat production
- 3 = Replacement heifers
- 4 = Cull animals
- 5 = Show animals
Individual ID:
- 0-9 = Your cow's unique number
s_0_2_1_0_5 means:
- Yacumeño breed
- Mature age
- Good health
- Breeding purpose
- Cow #5
The program automatically loads your current cattle from current_cattle.txt. Always save your work using option 9 to keep your cattle information updated!
If you get confused, just type the number of what you want to do. The system will guide you through each step!
Remember: Always save your work using option 8 before closing the program!

