- Oct 21, 2003
- 99
- 0
- 0
I was reading an article, that said I'd be able to use the before() and after() methods on a string in order to split a string... I tried it using the ever popular "Hello world" string, but my program wont compile... Here's my code and my errors.
7 C:\programs\cardgame\cardgame.cpp
no matching function for call to ` std::basic_string<char, std::char_traits<char>, std::allocator<char> >::
8 C:\programs\cardgame\cardgame.cpp
no matching function for call to ` std::basic_string<char, std::char_traits<char>, std::allocator<char> >::
Im using Dev-C++ 4.9.8.7 on Windows XP... I've tried #include'ing the string library, but that leads to the same error messages
7 C:\programs\cardgame\cardgame.cpp
no matching function for call to ` std::basic_string<char, std::char_traits<char>, std::allocator<char> >::
8 C:\programs\cardgame\cardgame.cpp
no matching function for call to ` std::basic_string<char, std::char_traits<char>, std::allocator<char> >::
Im using Dev-C++ 4.9.8.7 on Windows XP... I've tried #include'ing the string library, but that leads to the same error messages
