add debugger
This commit is contained in:
105
.vscode/launch.json
vendored
105
.vscode/launch.json
vendored
File diff suppressed because one or more lines are too long
23
.vscode/tasks.json
vendored
Normal file
23
.vscode/tasks.json
vendored
Normal 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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
2
Makefile
2
Makefile
@@ -53,7 +53,7 @@ SRCS = main.c \
|
|||||||
# COMPILATION CONFIG :
|
# COMPILATION CONFIG :
|
||||||
CC = gcc
|
CC = gcc
|
||||||
EXT = c
|
EXT = c
|
||||||
CFLAGS = -Wall -Wextra -Werror $(INCLUDES) -g3
|
CFLAGS = -Wall -Wextra -Werror $(INCLUDES) -g
|
||||||
LFLAGS = -L$(D_LIB) -lft
|
LFLAGS = -L$(D_LIB) -lft
|
||||||
LFLAGS += -lm
|
LFLAGS += -lm
|
||||||
|
|
||||||
|
|||||||
@@ -8,8 +8,9 @@
|
|||||||
- [ ] check why number stored in int or double
|
- [ ] check why number stored in int or double
|
||||||
- [x] get rid of lib math (check in libft)
|
- [x] get rid of lib math (check in libft)
|
||||||
- [x] use ft_abs() instead of abs() -> actually abs() is in stdlib
|
- [x] use ft_abs() instead of abs() -> actually abs() is in stdlib
|
||||||
- [x] handling sign '-' : "+ -2"
|
- [x] solve expressions without '=' ?
|
||||||
- [x] max exponent len :
|
- [x] solve when max exponent is 0
|
||||||
|
- [x] check reduced form in subject
|
||||||
|
|
||||||
## ressources
|
## ressources
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user