Tuesday and Thursday 1:45 - 3 pm Leigh Hall (LH) 312
Lab Section 021 15141 Tuesday 3:15 - 4:05 pm Arts & Sciences (CAS) 241
Lab Section 022 15142 Thursday 3:15 - 4:05 pm Arts & Sciences (CAS) 241
Lab Instructor: Mr. Sukesh Reddy Gangumalla sg121@zips.uakron.edu
Teaching Assistant: Mr. Deekshith Sandesari ds168@zips.uakron.edu
Code Summary Examples # Posted: Wednesday, Mar 18
srcML and Code Summary examples
In the examples folder srcML, there is a bunch of original source files and the equivalent srcML files (.xml extension).
Some of these srcML files also have code summaries (more to come later, so checkback often). These will be the output of your Code Summary program. For example:
Hint: One way to start on your program is to get it to output
a basic code summary in markdown (equivalent of empty.cpp.md).
I would not get fancy on this part of your program, just use
std::cout
in your main() function.
Lab 8 # Posted: Tuesday, Mar 17
Regular Lab Schedule and Meetings
Lab 8 this week. Normal time and place.
Project 2 Description # Posted: Thursday, Mar 12
Overview of Project 2
The assignment is to take source code, such as an expression, one of your programs, or a major source code project (e.g., Linux kernel or Qt), and produce a code summary.
Your program will be able to take source code and produce a report that includes:
The steps include:
Non-Functional Requirements:
HexChar (Updated) # Posted: Thursday, Mar 12
Completed by class time on Tuesday, Mar 17 (Updated with hints)
The HexChar program is to be completed by class time on Tuesday, Mar 17.
The files for it are in your "Other" folder in your Subversion student folder.
As with all code written on the computer, commit in steps as you implement things. You can comment out what it not yet done in the test program.
Implementation Hint: Use a single character field/data member. That
is what the sizeof(d)
is checking. Note that sizeof() is
not a free function or method that you write. It is built in, and
actually an operator.
Implementation Hint: Even though you are using a char
field (which takes 1 byte), you can treat it as a number type. Suggest
storing the digit as a number, i.e., store a 1 as the number value 1, not as
the digit '1'.