add debugger

This commit is contained in:
hugogogo
2026-06-05 12:14:04 +02:00
parent 2393c1eea4
commit 3732c0b777
4 changed files with 79 additions and 56 deletions

105
.vscode/launch.json vendored

File diff suppressed because one or more lines are too long

23
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,23 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: gcc build active file",
"command": "/usr/bin/gcc",
"args": [
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": ["$gcc"],
"group": "build",
"detail": "compiler: /usr/bin/gcc"
}
]
}

View File

@@ -53,7 +53,7 @@ SRCS = main.c \
# COMPILATION CONFIG :
CC = gcc
EXT = c
CFLAGS = -Wall -Wextra -Werror $(INCLUDES) -g3
CFLAGS = -Wall -Wextra -Werror $(INCLUDES) -g
LFLAGS = -L$(D_LIB) -lft
LFLAGS += -lm

View File

@@ -8,8 +8,9 @@
- [ ] check why number stored in int or double
- [x] get rid of lib math (check in libft)
- [x] use ft_abs() instead of abs() -> actually abs() is in stdlib
- [x] handling sign '-' : "+ -2"
- [x] max exponent len :
- [x] solve expressions without '=' ?
- [x] solve when max exponent is 0
- [x] check reduced form in subject
## ressources