Could someone show me the correct way to implement the following functions in C?
double StringToDouble(char src[]);
// StringToDouble converts a number stored in the string src to its floating-point representation, if possible
long StringToLong (char src[]);
// StringToLong works like StringToLong except that it converts a number in the string src to a long, if possible
No replies found.
double StringToDouble(char src[]);
// StringToDouble converts a number stored in the string src to its floating-point representation, if possible
long StringToLong (char src[]);
// StringToLong works like StringToLong except that it converts a number in the string src to a long, if possible
No replies found.