LinlyBoi
b7ec927b9c
yes
2023-08-22 14:50:48 +03:00
LinlyBoi
26f30dda48
commented things to clarify
2023-08-22 14:48:45 +03:00
LinlyBoi
ad695607b5
safely nuking these (no explanation given)
2023-08-22 14:41:46 +03:00
LinlyBoi
05aa31ed3f
works with \n now too
2023-08-22 14:41:31 +03:00
LinlyBoi
a723d77399
adjusted tests
2023-08-22 14:40:37 +03:00
LinlyBoi
d67665a155
removing the put char fixes it
2023-08-22 14:40:06 +03:00
LinlyBoi
9e30a97107
more compact code makes my brain happy
2023-08-22 14:29:46 +03:00
LinlyBoi
297cf9c4a5
printed?
2023-08-22 14:25:46 +03:00
LinlyBoi
59e05c91fe
replaced write with puts
2023-08-22 14:16:30 +03:00
LinlyBoi
036625ba8c
shrink buffer size upon putting and before freeing
2023-08-22 14:10:08 +03:00
LinlyBoi
7294276338
yes
2023-08-22 14:09:23 +03:00
LinlyBoi
3174bc405f
decided where to init the indexes
2023-08-22 14:04:54 +03:00
LinlyBoi
4b798e200c
NO DECLARATIONS AND ASSIGNING IN SAME LINE
2023-08-22 14:04:17 +03:00
LinlyBoi
8231851dd5
Merge branch 'charpoopoo' of github.com:LinlyBoi/printf into charpoopoo
2023-08-22 14:03:57 +03:00
LinlyBoi
2ca25a30a0
betty styling here
2023-08-22 14:00:36 +03:00
a36de7eac1
brain dying pls
2023-08-22 13:26:33 +03:00
f08b2ca361
if idea no work, you copy errytang))) xd
2023-08-22 12:20:43 +03:00
LinlyBoi
504376d3d0
help me pls
2023-08-21 14:42:37 +03:00
LinlyBoi
9d491f4873
-1
2023-08-21 14:40:34 +03:00
LinlyBoi
0b561ac266
+1
2023-08-21 14:33:56 +03:00
LinlyBoi
7fda3ce821
refactored append and char test
2023-08-21 14:28:36 +03:00
f316833e4c
Deprecito
2023-08-21 13:47:47 +03:00
LinlyBoi
bc32277deb
yes
2023-08-21 13:41:10 +03:00
LinlyBoi
883e8b5b9a
messed up order
2023-08-21 13:24:56 +03:00
LinlyBoi
7bb2aafbd6
DO NOT do that shit ever again I swear to fucking
2023-08-21 13:22:40 +03:00
8e196d6423
oui
2023-08-21 13:20:33 +03:00
LinlyBoi
ccdc076362
refactor the case of c and moved fmt+=2
2023-08-21 13:10:04 +03:00
LinlyBoi
c90057710a
cast to char c
2023-08-21 13:00:04 +03:00
56c807a9cd
char insertion poopoo
2023-08-21 12:53:38 +03:00
71d791acdb
IT WORKS ON MY MACHINE
2023-08-21 12:27:51 +03:00
960ef386ee
betty passes, write + 1, NO RETURN _PRTINF PLS
2023-08-21 12:19:24 +03:00
LinlyBoi
6c756ea867
yes
2023-08-21 11:39:20 +03:00
LinlyBoi
5df61fff5b
strcpy and its tests :)))
2023-08-21 11:23:56 +03:00
LinlyBoi
64d38b771d
fixed some stuff (100%)
2023-08-21 11:22:58 +03:00
LinlyBoi
ac332f48ac
please help
2023-08-20 23:08:19 +03:00
LinlyBoi
0df9b1789c
this segfaults idk why
2023-08-20 23:02:01 +03:00
LinlyBoi
e6d8091daf
I can't even begin to address what was wrong here
...
1. space missing in #include <stdarg.h>
2. moved declarations above all so betty approves
3. No more mid code variables
4. malloced the buffer initially so its actually on the heap before
freeing
5. added a missing * for the error that was upsetting in the bottom
6. Returning the value of strlen instead of identifiers
2023-08-20 20:16:46 +03:00
cc9901e281
Skeleton %s
2023-08-20 17:45:17 +03:00
64070c8152
lawd help meh
2023-08-20 15:38:49 +03:00
LinlyBoi
1c607342b4
Im nice
2023-08-20 14:39:25 +03:00
LinlyBoi
b2fca0820d
gitignore
2023-08-19 23:36:00 +03:00
LinlyBoi
901478b060
test for strlen (no longer segfaults)
2023-08-19 23:32:13 +03:00
LinlyBoi
179f8618f4
++str not str++
2023-08-19 23:13:06 +03:00
LinlyBoi
51f1e32eb2
why does this segfault?
2023-08-19 23:04:35 +03:00
LinlyBoi
92738bbd3d
contains implemented
2023-08-19 22:27:49 +03:00
6a7403a7c4
Documented '_strlen'
2023-08-19 22:01:55 +03:00
LinlyBoi
ed9384e11f
_strlen (docs needed)
2023-08-19 21:50:57 +03:00
LinlyBoi
af9400db50
pp
2023-08-19 21:42:08 +03:00
LinlyBoi
98d40c12eb
prototypes pog
2023-08-19 21:39:24 +03:00
LinlyBoi
37f4c17ebb
blank line after declaring variables
2023-08-18 23:45:49 +03:00