|
|
|
|
|
|
2014-08-01 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-02 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-03 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-04 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-05 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-06 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-07 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-08 06:13:14,Name,4.5,CustomUnit,CustomType 2014-08-09 06:13:14,Name,4.5,CustomUnit,CustomType File content is: 2014-08-10 06:13:14,Name,4.5,CustomUnit,CustomType |
|
|
File content is: 2014-08-10 06:13:14,Name,4.5,CustomUnit,CustomType |
void exit ();
- that is a declaration. What is needed is to call the function like this: exit (1);
|
|
the condition contains two separate statements, they should be separated by some sort of operator, if you want it to compile.geng07 wrote: | ||
---|---|---|
line 1 confuses me |
auto
is C++ keyword that means that the type of variable date is same as the type of the initializing expression. In this case it should be std::string
.I wrote: |
---|
#3 You have to figure out what expression the /*foo(line2)*/ should be. |
/*foo(line2)*/
. Write something that returns a string. A string that you create from the value of line2. A string that compares favorably relative to the two limit date strings.substr
member function of std::string. We have told you that a word like "1321-12-31" has 10 characters. We have hinted that the first 10 characters of each line in your sample inputs have contained similar words.