This is a discussion on problem using concatenation of arrays[*new] within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by rcgldr Has your class taught you anything about how to calculate CRC's yet? Originally Posted by jeedi ...
Last edited by rcgldr; 08-24-2013 at 04:47 AM.
Compiles for me on 2012 and 2013. Any reason you're using 2010 (except for the fact that 2012/2013 still looks horrible)?
it didn't seem to me a compiler ISSUE as it worked sometimes also but this time is STUCK
How strange. Definitely looks like missing includes.
Could you go to Project properties --> C/C++ and make sure "Precompiled headers" is off. Delete stdafx.h and stdafx.c if they're there in your project. Then do project -> Clean, then try rebuilding again?
It really shouldn't matter one bit if precompiled headers is on or not.
Rebuilding might help, though.
I have vague memories of something like this happening to me once. I didn't have <<, but I did have trouble dereferencing a vector<string> iterator. I stared and stared and saw nothing wrong. Would have been msvc 2010 as well.
Last edited by jeedi khan; 08-25-2013 at 03:04 AM.
You could try deleting everything but your source files and then create the project again, make sure to choose "empty project" in the process.
it works now ...thanks to ALL on this thread