问题描述:

how to use deque to print its items?

fatal error LNK1000: Internal error during IncrCalcPtrs

deque<bool> mandy3;

mandy3.push_back(true);

mandy3.push_back(false);

mandy3.push_back(true);

for(deque<bool>::iterator it=mandy3.begin(); it!=mandy3.end(); it++)

printf("mandy3 : %d" , *it?1:0);

网友答案:

This is not a compiler error, it's a linker error. It occurs while using the incremental linking feature, so do a clean build (rebuild) to clear out old files.

相关阅读:
Top