关键代码如下所示:
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <list>
using namespace std;
class Violation{
public:
Violation(){points=fine=0;
number=carNumber=tel=location=isSpot
=police=camera=type=isTreated=treatmentDate=notes=;}
Violation(string snumber,string