Welcome to the Honeygain Conversion Tool! This simple command-line tool allows you to calculate rates and conversions for Honeygain, specifically for data sizes in megabytes, gigabytes, and points.
-
User-Friendly Interface: The tool presents a straightforward menu interface, making it easy for users to choose the type of conversion they want to perform.
-
Cross-Platform Compatibility: Compatible with both Windows and Linux environments, ensuring a consistent user experience across different operating systems.
-
Verbose Mode: Activate verbose mode using the
-v
command-line option to enable additional information about the operating system. -
Clear Screen Functionality: The tool utilizes platform-specific clear screen functions, ensuring a clean and organized display.
-
IP Address Lookup (Windows/Linux): For Windows users, the tool provides a quick lookup of the IPv4 address using
ipconfig
. For Linux users, the equivalent information is displayed usingifconfig
. -
Conversion Options:
- Megabytes to Points: Convert the provided amount in megabytes to points, with an estimated value in dollars.
- Gigabytes to Points: Convert the provided amount in gigabytes to points, with an estimated value in dollars.
- Direct Points Entry: Enter an amount in points, providing an estimated value in dollars.
-
Input Validation: Robust input validation ensures that users are prompted until a valid input is provided, preventing errors from unexpected input.
-
Clone the repository to your local machine.
-
Compile the program using a C compiler.
gcc honeygain_conversion.c -o honeygain_conversion
Windows:
honeygain_conversion.exe
Linux:
./honeygain_conversion
Enable verbose mode to get additional information about your operating system.
Windows:
honeygain_conversion.exe -v
Linux:
./honeygain_conversion -v
$ ./honeygain_conversion
===================
1. Use Megabytes
2. Use Gigabytes
3. Use Points -
===================
Choice: 1
Enter Amount in Megabytes: 50
Your points are 15.00
Estimated in Dollars: $0.015