exercism-cpp / hexadecimal /
@Wook Song Wook Song authored on 20 Oct 2022
..
.exercism Easy: Add solutions for three exercises 3 years ago
test Easy: Add solutions for three exercises 3 years ago
CMakeLists.txt Easy: Add solutions for three exercises 3 years ago
HELP.md Easy: Add solutions for three exercises 3 years ago
README.md Easy: Add solutions for three exercises 3 years ago
hexadecimal.cpp Easy: Add solutions for three exercises 3 years ago
hexadecimal.h Easy: Add solutions for three exercises 3 years ago
hexadecimal_test.cpp Easy: Add solutions for three exercises 3 years ago
README.md

Hexadecimal

Welcome to Hexadecimal on Exercism's C++ Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

Convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).

On the web we use hexadecimal to represent colors, e.g. green: 008000, teal: 008080, navy: 000080).

The program should handle invalid hexadecimal strings.

Source

Created by

  • @LegalizeAdulthood

Contributed to by

  • @cyborgsphinx
  • @elyashiv
  • @jackhughesweb
  • @KevinWMatthews
  • @kytrinyx
  • @patricksjackson

Based on

All of Computer Science - http://www.wolframalpha.com/examples/NumberBases.html