void StrAppend(char *to, char *from);
Character string to is extended by adding character string from at its end. Like strcat().
Parameters
to Current char string.
from Char string to be added at the end of char name.
Remarks
The StrAppend() function copies the char string from onto the end of the char string to. Use StrCopy() to set up the initial string.
Availability
Available in DragonFireSDK 1.0 and later.
Example
Description: This program will append Ball.png onto the existing string "Images/".
#include "DragonFireSDK.h"
void AppMain() { int im; int vw; char name[100];
StrCopy(name, "Images/"); StrAppend(name, "Ball.png"); im = ImageAdd(name); vw = ViewAdd(im, 0, 0); }
void AppExit() {
}
void OnTimer() {
} |