-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhex.h
More file actions
23 lines (23 loc) · 684 Bytes
/
hex.h
File metadata and controls
23 lines (23 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//******************************************************************
// Ryon Cook
// z1863954
// CSCI 463 Section 1
// Assignment 5
//
// I certify that this is my own work and where appropriate an extension
// of the starter code provided for the assignment
//
//******************************************************************
#ifndef hex_h
#define hex_h
#include <string>
class hex
{
public:
static std::string to_hex8(uint8_t i);
static std::string to_hex32(uint32_t i);
static std::string to_hex0x32(uint32_t i);
static std::string to_hex0x20(uint32_t i);
static std::string to_hex0x12(uint32_t i);
};
#endif