mirror of
https://github.com/biergaizi/codecrypt
synced 2024-06-28 18:03:36 +00:00
ios: fixed bit vector output
This commit is contained in:
parent
977d3afdc9
commit
78da95a2e8
@ -43,8 +43,8 @@ ostream& operator<< (ostream&o, const matrix& m)
|
||||
ostream& operator<< (ostream&o, const bvector& v)
|
||||
{
|
||||
o << "vector of " << v.size() << " elements:" << endl;
|
||||
for (uint i = 0, e = v.size(); i < e; ++i) cout << v[i];
|
||||
cout << endl;
|
||||
for (uint i = 0, e = v.size(); i < e; ++i) o << v[i];
|
||||
o << endl;
|
||||
return o;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user