Skip to content

ignaciojimenezr/CattleManager

Repository files navigation

🐄 Cattle Management System

A simple system to track your cattle by breed, age, health, and production group.

🚀 How to Start (Step by Step)

Step 1: Open Terminal

  • Mac: Press Cmd + Space, type "Terminal", press Enter
  • Windows: Press Windows + R, type "cmd", press Enter
  • Linux: Press Ctrl + Alt + T

Step 2: Go to Your Cattle Folder

Type this and press Enter:

cd /Users/nacho/CattleManager

Step 3: Build the Program

Type this and press Enter:

make cattle_manager

Step 4: Start the Program

Type this and press Enter:

./cattle_manager

That's it! The program will start and show you a simple menu.

📸 Screenshots

Here's what the Cattle Management System looks like in action:

Cattle Manager Main Menu Main menu interface

Adding Cattle Adding new cattle to your herd

Cattle Data View Viewing your cattle data

📋 What You Can Do

Once the program starts, you'll see a simple menu. Just type the number of what you want to do:

  1. Add Cow - Add new cows to your herd
  2. Find Cow - Look up specific cows
  3. Count Cows - See how many cows you have by breed/age
  4. View All Cattle - See all your cattle (load data first)
  5. Remove Cow - Remove cows from your herd
  6. Add Note - Add important notes about each cow
  7. See Note - See notes about specific cows
  8. Load Data - Load your saved cattle data
  9. Save Data - Save your cattle data to file
  10. Exit - Close the program

🐮 Cattle ID Format

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

📝 Example

s_0_2_1_0_5 means:

  • Yacumeño breed
  • Mature age
  • Good health
  • Breeding purpose
  • Cow #5

💾 Your Cattle Data

The program automatically loads your current cattle from current_cattle.txt. Always save your work using option 9 to keep your cattle information updated!

❓ Need Help?

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors