Jul 26, 2002 #2 Skatanic Programmer Jun 25, 2002 37 US Here is the prototype for it. char *_gcvt( double value, int digits, char *buffer ); Shouldn't be too hard to figure out. Just make sure to include <stdlib.h>. -Skatanic Upvote 0 Downvote
Here is the prototype for it. char *_gcvt( double value, int digits, char *buffer ); Shouldn't be too hard to figure out. Just make sure to include <stdlib.h>. -Skatanic
Jul 28, 2002 #3 RavenEris Programmer Jul 24, 2002 13 US You should check out sprintf(), too... Here's the prototype: Code: int sprintf( char *buffer, const char *format [, argument] ... ); Where *buffer is usually just an array of char (like Code: char temp[255] ), *format is a string that looks like this "%e"... Upvote 0 Downvote
You should check out sprintf(), too... Here's the prototype: Code: int sprintf( char *buffer, const char *format [, argument] ... ); Where *buffer is usually just an array of char (like Code: char temp[255] ), *format is a string that looks like this "%e"...