Posts Tagged coding

Erasing Iterators from STL Containers (STL Vector, etc.) in a Loop

for( vector<aType>::iterator it = aVec.begin(); 
      it != aVec.end(); 
      it = (*it).shouldDelete()?aVec.erase(it):it+1){
   // do stuff
}

, , , , , , , , , ,

2 Comments

Collaboration Tools

Collaborative Editors

EtherPad (http://etherpad.com/) – Great for editing plaintext documents (or latex).
CollabEdit (http://collabedit.com/) – Great for editing source code. Has syntax highlighting for several common languages.

Collaborative Whiteboards

Imagination Cubed (http://www.imaginationcubed.com/) – Great for just sketching ideas
Dabble Board (http://www.dabbleboard.com/) – Great for working collaboratively on diagrams, etc.

, , , , ,

No Comments