Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for mitrious

given the following code [CODE]bool space(char c) { return isspace(c); } bool not_space(char c) { return !space(c); } template <class Out> void split(const string& str, Out os){ typedef string::const_iterator iter; iter i = str.begin(); while(i != str.end()){ i = find_if(i, str.end(), not_space); iter j = find_if(i, str.end(), space); if(i != …

Member Avatar for mitrious
0
148
Member Avatar for fishsicles

Hello, I am working on developing an interpreted programming language for a capstone project and have hit a snag dealing with two classes. In the interpreter, the classes represent a scope containing a procedure pointer and the procedure pointing back to the scope containing it. The former to allow the …

Member Avatar for fishsicles
0
141
Member Avatar for israruval

ok so im trying to implement a stack using vector and i have to access the last element of the vector el, i dont know if its right and also how would i implement the pop function of the stack using vector el_t stack::topElem() { el_t n; if(isEmpty()) cout <<"stack …

Member Avatar for mike_2000_17
0
5K
Member Avatar for biancaW

I have another question regarding activating of an automatic door: three sensors front pad, rear pad, and door; they determine weather the door is activated or not. front pad=0 empty front pad=1 occupied rear pad=0 empty rear pad=1 occupied door=0 closed door=1 open there are situations when the door is …

Member Avatar for fishsicles
0
245