author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 11 Jun 2010 15:26:22 +0300 | |
changeset 34 | 5fae379060a7 |
parent 31 | ce057bb09d0b |
child 45 | 4b03adbd26ca |
permissions | -rw-r--r-- |
/* * * © Portions copyright (c) 2006 Nokia Corporation. * All rights reserved. * */ #include <string> #ifdef __SYMBIAN32__ int strass1_test(int, char**) #else int main() #endif { std::string str1 = "string"; std::string str2; str2.assign(str1.begin(), str1.begin() + 3); if(str2.compare("str")!=0) return 1; else return 0; }