Amazing at C++….

Today, I just found brilliant hack with pointer…. After moving to VS2010 from 2008 some C++ code stoped to work for strtok. So, I used:


1
2
char *knife=strstr(b, "blablabla";
*knife='\0';


Works great. There is so kind of features that it’s not possible to find at java really. C++ has some amazing stuff inside.