Strings - get a char from the middlegreenspun.com : LUSENET : the c forum : One Thread
I'm switching from QB to C++. Now in QB there is a nice function called Mid$(str, start, letters) which takes position start of the string str and return the following letters letters. E.g.: if str was "Hello, world" then mid$("Hello, world", 8, 5) would return "world". Is there a function like that in C(++). I tried to write it by myself, but then I get an error "can't convert char* to char*" or sth. like that. Can anybody help me?
-- CompuChip (firstname.lastname@example.org), May 22, 2001