Surely there is some way you could tell us about the run-time error. If you can see that an error happened, you must be able to tell use what you are seeing.
Could your problem be related to misspelling the word "pause"? RobR -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of WLJiang WLJiang Sent: Wednesday, August 18, 2010 2:35 AM To: [email protected] Subject: Re: [c-prog] vector<bool> does not working? #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] ------------------------------------ To unsubscribe, send a blank message to <mailto:[email protected]>.Yahoo! Groups Links
