Mercurial Hosting > harelet
comparison harelet.c @ 20:0555050bada0
Make it pretty
author | VilyaemKenyaz |
---|---|
date | Wed, 27 Sep 2023 08:51:57 -0400 |
parents | 8fe0b5711413 |
children |
comparison
equal
deleted
inserted
replaced
19:8fe0b5711413 | 20:0555050bada0 |
---|---|
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 #include <string.h> | 9 #include <string.h> |
10 #include <assert.h> | 10 #include <assert.h> |
11 | 11 |
12 #include "basedfilelib.h" | 12 #include "based/basedfilelib.h" |
13 #include "basedtermgrx.h" | 13 #include "based/basedtermgrx.h" |
14 | 14 |
15 #define DEEPNESS 5 | 15 #define DEEPNESS 5 |
16 #define MAXPOINT 4096 | 16 #define MAXPOINT 4096 |
17 #define UNITS "G20\n" | 17 #define UNITS "G20\n" |
18 #define SPEED 20 | 18 #define SPEED 20 |
49 * Description - Convert integers to strings, makes | 49 * Description - Convert integers to strings, makes |
50 * source code more pretty. | 50 * source code more pretty. |
51 * Author - William King | 51 * Author - William King |
52 * Date - Sep 26 2023 | 52 * Date - Sep 26 2023 |
53 * *******************************************/ | 53 * *******************************************/ |
54 char * IntToString(int num){ | 54 char * IntToString(unsigned int num){ |
55 char * s; | 55 char * s; |
56 sprintf(s,"%d",num); | 56 sprintf(s,"%d",num); |
57 return s; | 57 return s; |
58 } | 58 } |
59 | 59 |