Skip to content

Commit ce3e112

Browse files
committed
add macro
1 parent f7614c1 commit ce3e112

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Vector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using namespace std;
1616
typedef vector<int>::size_type v_size;
1717
extern bool search(vector<int>::iterator start, vector<int>::iterator end, int aim);
18-
int main2() {
18+
int main() {
1919
// vector<string> ivec(SIZE, HI);
2020
// for (vector<string>::iterator iter = ivec.begin(); iter != ivec.end();
2121
// ++iter) {
@@ -32,5 +32,6 @@ int main2() {
3232
}
3333
bool flag = search(target.begin(),target.end(),5);
3434
cout<<flag<<endl;
35+
cout<<HI<<endl;
3536
return 0;
3637
}

src/testodd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main() {
1717
for (size_t i = 0; i < 100; i++) {
1818
li.push_back(i);
1919
}
20-
20+
/*This is a test comment*/
2121
list<int>::iterator iter;
2222
for (iter = li.begin(); iter != li.end(); iter++) {
2323
if (*iter % 2 == 0) {

0 commit comments

Comments
 (0)