Skip to content

StenlyLukmana/c-slang-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Slang Dictionary in C

🚧 Built as a final project for the Data Structures course.

A C program that acts as a dictionary to store and manage slang words. Users are able to:

  • Add new entries
  • Search for a specific slang word
  • Search for all slang words beginning with a certain prefix
  • View all saved slang words
  • Update slang word definitions

🚀 Features

  • Trie tree data structure
  • Data storage using linked lists
  • Efficient prefix search implementation
  • Simple text-based interface

🧰 Technologies Used

  • Language: C
  • Concepts: Data Structures; Prefix Searching; String Manipulation

🧠 How It Works

  1. The user selects an option from the menu.
  2. Depending on the choice, the program adds, searches for, lists, or updates the definitions of slang words.
  3. Data is stored in memory.

🖥️ How to Run

  1. Compile using gcc main.c -o file_processor
  2. Run ./file_processor

🧩 Example Output

Boogle
1. Release a new slang word
2. Search a slang word
3. View all slang words starting with a certain prefix word
4. View all slang words
5. Exit
Select an action: 1
Input a new slang word [Must be more than 1 character and doesn't contain spaces]: goat
Input a new slang word description [Must be more than 2 words]: abbreviation for greatest of all time

About

A C program that stores and manages slang words. Able to add new entries, look for a specific word, view all words, and search for all words with a certain prefix.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages