Start Assignment 5 for 396.

This commit is contained in:
Charles Descamps 2024-11-01 13:25:59 -07:00
parent cfcce88ebc
commit 0ab7384af2
4 changed files with 81 additions and 0 deletions

BIN
assignmentFive/date Executable file

Binary file not shown.

40
assignmentFive/date.cpp Normal file
View file

@ -0,0 +1,40 @@
/*
Program Name: Date (exception handling)
Process: ???
Function Input/Parameters: ???
Function Output/Parameters: ???
Function Output/Returned: ???
Device Input/Device: ???
Device Output/Monitor: ???
Dependencies: ???
*/
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <cstring>
#include <vector>
#include <random>
#include <algorithm>
#include <time.h>
using namespace std;
// class definitions
class Date
{
private:
/* data */
public:
Date(/* args */);
~Date();
};
// function prototypes
// main program
int main(int argc, char **argv)
{
// return 0
return 0;
}

BIN
assignmentFive/htmlConvert Executable file

Binary file not shown.

View file

@ -0,0 +1,41 @@
/*
Program Name: HTML Converter
Process: ???
Function Input/Parameters: ???
Function Output/Parameters: ???
Function Output/Returned: ???
Device Input/Device: ???
Device Output/Monitor: ???
Dependencies: ???
*/
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <cstring>
#include <vector>
#include <random>
#include <algorithm>
#include <time.h>
using namespace std;
// class definitions
// function prototypes
// main program
int main(int argc, char **argv)
{
// menu for user
// ask the user for a cpp file. (check to see if valid?)
// add the <pre> tag, read each character, check to see if the character is one that needs to be
// modified, like '<' and '>' and turned into '&lt;' and '&gt;' once at the end of input file,
// add the </pre> tag, and output to a new html file that uses the file name
// and rids itself of everything after the dot and replaces it with '.html' and writes it out.
// return 0
return 0;
}