//Second constructor

Dublin Core

Description

Part of the submitter's homework assignment, which is to create a storage system to hold very large numeric values. There are two comments: one explaining the purpose of the code, the other asking the grader to check it for accuracy.

Creator

Anonymous Submitter

Publisher

Unpublished

Date

Language

English

Identifier

Coverage

2000-2024

Notebook, Marginalia and Annotation Item Type Metadata

Genre

annotation

Material

digital

Circulation

None

Linguistic Text

//Second constructor- accepts a string of characters
MyInt::MyInt(char *arr) {
//CHECK ME SHOULD THIS BE INT OR MY INT
MyIntPtr = new int[5];
numSpaces = 5;
arraySize = 0;
bool isValid = true;

Visual Text

Some words are different colors to indicate that they are variable names, function names, or special characters.

Uploaded

Anonymous Submitter 03/22/23

Files

Screen Shot 2023-03-21 at 8.21.20 PM.JPEG

Citation

Anonymous Submitter, “//Second constructor,” Museum of Everyday Writing, accessed May 3, 2024, https://museumofeverydaywriting.omeka.net/items/show/2232.

Output Formats