Created
October 21, 2008 20:35
-
-
Save sbrocket/18420 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef std::vector<std::vector<char> > charGrid; | |
charGrid *newGrid = new charGrid(); | |
newGrid[0][0] = ' '; | |
// error: no match for 'operator=' in 'newGrid-> std::vector<_Tp, _Alloc>::operator[] [with _Tp = std::vector<char, std::allocator<char> >, _Alloc = std::allocator<std::vector<char, std::allocator<char> > >](0ul) = ' '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment