The following code throws an unhandled exception. Any ideas?
Code:typedef unsigned long DWORD; std::vector< DWORD > _blocks; //... // str = "abc" DWORD __numBlocks = ( ( str.length( ) + 8 ) >> 6 ) + 1; _blocks.erase( _blocks.begin( ), _blocks.end( ) ); for( DWORD __i = 0; __i < __numBlocks * 16; __i++ ) _blocks.push_back( 0 );