port Delphi code to c++

I hope thats the right place to ask this.

Im trying to find which command is used to locate the position of a character in c++.
For example , in delphi we use pos(). how about in c++ ??
and last question , how can i copy a part of a string? eg in delphi we use copy() command.
I just need the commands ..

Comments

  • : I hope thats the right place to ask this.
    :
    : Im trying to find which command is used to locate the position of a character in c++.
    : For example , in delphi we use pos(). how about in c++ ??
    : and last question , how can i copy a part of a string? eg in delphi we use copy() command.
    : I just need the commands ..
    :
    i found how to get the index of the character.
    Now im still looking for the copy function/
    strcpy cant do what copy() command does..
    Copy(mydata,START_fROM,END_TO);

  • : : I hope thats the right place to ask this.
    : :
    : : Im trying to find which command is used to locate the position of a character in c++.
    : : For example , in delphi we use pos(). how about in c++ ??
    : : and last question , how can i copy a part of a string? eg in delphi we use copy() command.
    : : I just need the commands ..
    : :
    : i found how to get the index of the character.
    : Now im still looking for the copy function/
    : strcpy cant do what copy() command does..
    : Copy(mydata,START_fROM,END_TO);
    :
    :
    strncpy() == Copy().
  • : : : I hope thats the right place to ask this.
    : : :
    : : : Im trying to find which command is used to locate the position of a character in c++.
    : : : For example , in delphi we use pos(). how about in c++ ??
    : : : and last question , how can i copy a part of a string? eg in delphi we use copy() command.
    : : : I just need the commands ..
    : : :
    : : i found how to get the index of the character.
    : : Now im still looking for the copy function/
    : : strcpy cant do what copy() command does..
    : : Copy(mydata,START_fROM,END_TO);
    : :
    : :
    : strncpy() == Copy().
    :
    Thanks :)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories