CS396-Projects/assignmentFive/htmlConvert.cpp
2024-11-01 13:25:59 -07:00

41 lines
No EOL
991 B
C++

/*
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;
}