User Tools

Site Tools


notes:cprog:fall2024:projects:dtr0

This is an old revision of the document!


DTR0

Within dtr0.c you will find multiple sections, commented respective to their task. You will write very similar code for the required sections, each section meant for a different data type in C (and titled appropriately). As an example of the code you'll need, all the tasks for signed char have already been completed. It is your job to study the given code and implement it elsewhere in the program where appropriate to create sections for each data type, which will be formatted and printed to the terminal.

REPOSITORY STEPS

BUILD THE CODE

RUN THE PROGRAM

BACKGROUND

INTEGER VALUES

REPRESENTATION: BASE 2 (BINARY)

REPRESENTATION: BASE 16 (HEXADECIMAL)

STORAGE: BITS AND BYTES

BITWISE LOGIC: AND

BITWISE LOGIC: OR

BITWISE LOGIC: XOR

BITWISE LOGIC: NOT

notes/cprog/fall2024/projects/dtr0.1726802684.txt.gz · Last modified: 2024/09/20 03:24 by mwinter4