#include<vector>
#include<iostream>
using namespace std;
int main(void)
{
typedef vector<bool> BVEC;
BVEC bv;
bv.push_back(false);
bool b = bv.at(0);
cout << b;
system("PUASE");
return 0;
}
//vector<bool> is working...
________________________________
From: Jos Timanta Tarigan <[email protected]>
To: [email protected]
Sent: Wed, August 18, 2010 7:28:08 AM
Subject: [c-prog] vector<bool> does not working?
hi,
im having problem to make a vector of boolean. its pretty simple but it does
not
works properly and its a runtime error that i cant describe what actually the
error is.
what actually happened to it? how can I handle it?
thanks in advance
=================================
http://www.svnstrk.blogspot.com
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]