diff options
author | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-05-27 00:43:48 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cab.ark.cs.cmu.edu> | 2012-05-27 00:43:48 -0400 |
commit | 425a6300f2ec00a44d3f23cb43c239bec58cf765 (patch) | |
tree | f860b010ab8bab40515c626338198b5a0841cfd2 /gi/scfg/abc/tmp.cpp | |
parent | 34e6505898a7721ba94c8eb79e0130b4b6ef9346 (diff) |
remove dead code
Diffstat (limited to 'gi/scfg/abc/tmp.cpp')
-rw-r--r-- | gi/scfg/abc/tmp.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/gi/scfg/abc/tmp.cpp b/gi/scfg/abc/tmp.cpp deleted file mode 100644 index 967a601d..00000000 --- a/gi/scfg/abc/tmp.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include <iostream> -#include <set> -#include <vector> -using namespace std; - -int x = 5; - -class A{A(){x++;}}; -// { -// int a_; - -// }; - -class B: public A{ - - int b_; -}; - -int main(){ - - cout<<"Hello World"; - set<int> s; - - s.insert(1); - s.insert(2); - - x++; - cout<<"x="<<x<<endl; - - vector<int> t; - t.push_back(2); t.push_back(1); t.push_back(2); t.push_back(3); t.push_back(2); t.push_back(4); - for(vector<int>::iterator it = t.begin(); it != t.end(); it++){ - if (*it ==2) t.erase(it); - cout <<*it<<endl; - } -} |