Skip to content

Usage Example Creation - Networking - Convert Dec to Hex#171

Merged
omckeon merged 4 commits intothoth-tech:usage-example-contributionsfrom
breezy-codes:4_use_ex_dec_to_hex
Oct 3, 2024
Merged

Usage Example Creation - Networking - Convert Dec to Hex#171
omckeon merged 4 commits intothoth-tech:usage-example-contributionsfrom
breezy-codes:4_use_ex_dec_to_hex

Conversation

@breezy-codes
Copy link

@breezy-codes breezy-codes commented Sep 7, 2024

Usage Example Creation

Created a new networking based usage example for converting dec to hex , it's a terminal based example that allows the user to enter a decimal value and then does the conversion. Code created in C#, C++ and python, for when python is added in to Splashkit usage examples.

Created

-[x] C++ Code
-[x] C# Code in top level statement
-[x] Python Code
-[x] text page linking function
-[x] Program Screenshot

Code Tests

C++

cpp

C#

csharp

Python

python

Site Preview

running1
running2

@netlify
Copy link

netlify bot commented Sep 7, 2024

Deploy Preview for splashkit-io ready!

Name Link
🔨 Latest commit 58ab831
🔍 Latest deploy log https://app.netlify.com/sites/splashkit-io/deploys/66dbe83c0afc720008cc9ff4
😎 Deploy Preview https://deploy-preview-171--splashkit-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@sananoureen35 sananoureen35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code examples are clear, well-structured, and easy to follow, making them great for beginners like me.

I would recommend adding a bit more error handling, like checking for invalid input (e.g., non-hexadecimal values) to make the program more robust.

All the best!

@breezy-codes
Copy link
Author

breezy-codes commented Sep 19, 2024

The goal is for this to be a usage example so its more so about keeping it simple, not adding in additional steps for input validation. Just highlighting the feature being dec to hex
They've also been designed to match the other 3 conversions made. @sananoureen35

Copy link

@Jinx-means-jinx Jinx-means-jinx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested all the code, work with no error. Nice work!
abe53bdc369bb21b8061a0beee9b12a
a44bce38578df731ea45efb3e833547
9ad6b6bbdd27b8cd901390cb89b4cae

@breezy-codes breezy-codes changed the base branch from main to usage-example-contributions October 1, 2024 04:01
@omckeon omckeon merged commit a8e6986 into thoth-tech:usage-example-contributions Oct 3, 2024
@netlify
Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for usage-examples-splashkit-io ready!

Name Link
🔨 Latest commit f8f4ad3
🔍 Latest deploy log https://app.netlify.com/sites/usage-examples-splashkit-io/deploys/66fe6dc7c982330008c7f844
😎 Deploy Preview https://deploy-preview-171--usage-examples-splashkit-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for splashkit-io ready!

Name Link
🔨 Latest commit f8f4ad3
🔍 Latest deploy log https://app.netlify.com/sites/splashkit-io/deploys/66fe6dc7a7347900080f78db
😎 Deploy Preview https://deploy-preview-171--splashkit-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants