Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * File: Entry.cpp
- * Author: Dahlia
- *
- * Created on March 21, 2018, 8:37 PM
- */
- #include "Entry.h"
- #include <string>
- using namespace std;
- Entry::Entry(string entry)
- {
- if(entry.size()==1)
- st = en = entry[0];
- else if(entry.size()==3)
- {
- st = entry[0];
- en = entry[2];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement