Skip to content

Amr4924/WordWizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WordWizard

WordWizard is a C++ project designed for word processing and word-related operations, such as word games or educational tools. The repository contains source files (main.cpp, function.cpp, function.h) and a compiled executable (WordWizard.exe).

How to Build

You can build the project using g++:

g++ main.cpp function.cpp -o WordWizard.exe

How to Run

After building, run the executable:

./WordWizard.exe

Feel free to modify the source code to add new features or improve the program.

πŸ“ WordWizard Program

Welcome to the ultimate Text Processing Program! πŸš€ This project provides a wide range of smart tools to manipulate and edit text easily and efficiently. Whether you're a student, writer, or developer, you'll find everything you need to improve your text quality and workflow here.


🌟 Features

  1. Change Case
  2. Reverse Text
  3. Substitute a Character
  4. Swap a Word in a List
  5. Trim Spaces or Special Characters (left, right, all)
  6. Clean Text from Unwanted Characters
  7. Zfill (Pad Text to Desired Length)

πŸ“– Feature Details

1. Change Case

  • Convert text from lowercase to uppercase.
  • Convert text from uppercase to lowercase.
  • Swap case between lowercase and uppercase.

2. Reverse Text

  • Reverse the order of characters in a word or sentence.

3. Substitute a Character

  • Replace a specific character with another throughout the text.

4. Swap a Word in a List

  • Replace a specific word with another in a group of words.

5. Trim Spaces or Special Characters

  • Remove spaces or special characters from the left, right, or both sides.

6. Clean Text

  • Remove unwanted characters, with options to keep spaces or specific symbols.

7. Zfill

  • Pad the text with a specific character until it reaches the desired length.

πŸ› οΈ How to Use

  1. Run the program.
  2. Choose the desired feature from the menu.
  3. Enter the required text or data.
  4. Follow the on-screen instructions.
  5. Enjoy the result! πŸŽ‰

πŸ’‘ Practical Examples

Example 1: Change to Uppercase

Input: hello world
Result: HELLO WORLD

Example 2: Reverse Text

Input: hello
Result: olleh

Example 3: Substitute a Character

Input: banana
Character to replace: a
New character: o
Result: bonono

Example 4: Swap a Word

Input words: apple orange banana
Word to replace: orange
New word: mango
Result: apple mango banana

Example 5: Trim Spaces (right)

Input: "   hello   "
Character: ' '
Direction: right
Result: "   hello"

Example 6: Clean Text

Input: "hello@world!"
Keep spaces: Yes
Keep special characters: No
Result: "helloworld"

Example 7: Zfill

Input: "42"
Width: 5
Fill character: '0'
Result: "00042"

πŸ“‚ File Structure

  • main.cpp: Main file for running the program and user interaction.
  • function.cpp: Contains all text processing functions.
  • function.h: Header file for function declarations.
  • README.md: Documentation file.

πŸ–₯️ Requirements

  • Windows OS or any system supporting C++
  • C++ compiler (GCC, MSVC, etc.)

βš™οΈ Installation & Run

  1. Download the files from the repository.
  2. Open the files in your favorite code editor (e.g., VS Code).
  3. Compile the program:
    g++ main.cpp function.cpp -o text_tool.exe
    
  4. Run the program:
    ./text_tool.exe
    

🧠 Tips for Best Use

  • Enter text accurately to avoid errors.
  • Follow the instructions at each step.
  • Feel free to experiment with all features.

❓ FAQ

Q: Can I modify the program? A: Yes, you can edit the code to fit your needs.

Q: Does the program support Arabic? A: The program supports any text input from the keyboard.

Q: Can I add new features? A: Absolutely! The code is open source and you can add any feature you want.


🀝 Contributing

If you have ideas or improvements, feel free to open a Pull Request or contact us via email.


🏷️ License

This project is open source and can be used and modified freely for educational or personal purposes.


πŸ“ Changelog

  • Initial release: All main features added.
  • Improved user interface.
  • Support for special characters and symbols.
  • Performance enhancements.
  • Added practical examples.
  • Updated README file.

πŸ”— Useful Links


πŸ“¬ Contact & Social


πŸ‘¨β€πŸ’» Made by Sa3dwy

This project was proudly created by Sa3dwy. For more projects, resources, and updates, check out the links above! ✨


πŸ“’ Extra Instructions

  • You can customize the program to fit your personal needs.
  • All functions are documented in function.h.
  • The program supports both short and long texts.
  • Easily integrate the program with other projects.
  • The code is organized and easy to read and modify.
  • All features work independently and can be used separately.
  • Suitable for all ages and skill levels.
  • No special requirements to run the program.
  • You can add a GUI in the future.
  • The program supports expansion and new features.
  • Common errors are handled in the code.
  • Use the program for educational or research projects.
  • 100% free to use.
  • No restrictions on use or distribution.
  • Share the program on social media.
  • All files are organized in one folder for easy access.
  • You can edit the README to add new info.
  • Supports all operating systems that support C++.
  • Easily translate the program to any language.
  • All functions are reusable in other projects.
  • Smooth and simple user experience.
  • Add keyboard shortcuts in the future.
  • Supports Arabic and English text processing.
  • All features are tested and verified.
  • Add support for text files in the future.
  • Suitable for personal and professional use.
  • Add feature to save results to external file.
  • All code is explained in detail in source files.
  • Contact us for technical support.
  • Open source, view all code freely.
  • All features are customizable and editable.
  • Add emoji support in the future.
  • Handles long texts without issues.
  • Add undo feature in the future.
  • Code is written professionally and organized.
  • Add support for other programming languages in the future.
  • Suitable for beginners and experts.
  • Add text analysis features in the future.
  • All features work efficiently.
  • Add support for audio files in the future.
  • Supports all types of text.
  • Add text validation features in the future.
  • Code is upgradable and maintainable.
  • Add AI support in the future.
  • Great educational experience.
  • Add translation features in the future.
  • All features are documented in README.
  • Add support for large files in the future.
  • Supports all types of symbols and characters.
  • Add search feature in the future.
  • Code is easy to understand and modify.
  • Add GUI support in the future.
  • Suitable for all uses.
  • Add error correction features in the future.
  • All features are customizable.
  • Add support for encrypted files in the future.
  • Provides practical and fast solutions.
  • Add export results feature in the future.
  • Code is written clearly and organized.
  • Add support for multi-format files in the future.
  • Supports all types of text and symbols.
  • Add sentiment analysis features in the future.
  • All features work independently.
  • Add cloud file support in the future.
  • Excellent user experience.
  • Add duplicate check feature in the future.
  • All code is reusable.
  • Add binary file support in the future.
  • Suitable for all fields.
  • Add encryption features in the future.
  • All features are fully documented.
  • Add support for compressed files in the future.
  • Provides innovative and easy solutions.
  • Add text classification features in the future.
  • Code is written professionally.
  • Add interactive file support in the future.
  • Supports all types of text and symbols.
  • Add data validation features in the future.
  • All features are upgradable.
  • Add dynamic file support in the future.
  • Great educational experience.
  • Add spell check features in the future.
  • Code is easy to edit and customize.
  • Add external file support in the future.
  • Suitable for all personal and professional uses.

About

WardWizard is a simple C++ program for word processing and word games. It helps users interact with words in fun and educational ways.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages