void StrCopy(char *to, char *from);

 

Copies the character string from into the character string to. Like strcpy().

 

Parameters

 

to

Char string destination.

 

from

Char string source.

 

Remarks

 

The StrCopy() function copies the char string from into the char string to. Use StrAppend() to add an additional string to the end of a string.

 

Availability

 

Available in DragonFireSDK 1.0 and later.

 

Example

 

Description: This program will copy the char string Ball.png into the char string name.

 

#include "DragonFireSDK.h"

 

void AppMain()

{

  int im;

  int vw;

  char name[100];

 

  StrCopy(name, "Ball.png");

  im = ImageAdd(name);

  vw = ViewAdd(im, 0, 0);

}

 

void AppExit()

{

 

}

 

void OnTimer()

{

 

}