wallyj83 Goto Github PK
Name: Walter Foster
Type: User
Name: Walter Foster
Type: User
c
Well-formed – For this assignment, we will define a string of characters to be “well-formed” if it satisfies one of the following requirements: 1. Contains three, two, or one base-ten symbols2 and nothing else 2. Meets the first requirement and begins with either the minus sign‘-‘ or the plus sign ’+’ 3. Contains two base-163 symbols followed by ’h’ and nothing else 4. Contains four base-two symbols4, followed by a space character, followed by four more base-two symbols, followed by ’b’ and nothing else. Note: Overflow can lead to interesting results. For example, if you use either the number 128 or the character string “128”, your Short should contain the value -128. This is not an error in your code; it is the result of overflow. In Short.cpp, implement these member functions and the following helper function: //determines and returns the type of a char*, either DEC, BIN, HEX. It returns ERROR if the char* is not well-formed display_type type ( const char* ); Write other helper-functions as needed. I have several. Place the prototypes for helper functions at the top of your Short.cpp file and the implementations at the bottom of the file. These are not member functions and should not be in your Short.h file. YOU MUST NOT USE ANY BUILT-IN FUNCTIONS In ShortMain.cpp, write a test main to test your code. Remember: code that does not compile will not be graded and will receive a grade of ZERO. You must thoroughly test ALL of your code to ensure that it compiles and works correctly. Submit these four files via the drop-box (append .txt to change Makefile to Makefile.txt) 2
CISP 400
The C++ lab programs.
Practicing C and C++ coding through class projects, lectures and books.
This is a repository for my coursework at the University of Notre Dame.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.