https://github.com/bragdond/ackermann-problem-c
Small project to show the problem of using recursivity approach for some problems
https://github.com/bragdond/ackermann-problem-c
ackermann c problem recursivity
Last synced: 2 months ago
JSON representation
Small project to show the problem of using recursivity approach for some problems
- Host: GitHub
- URL: https://github.com/bragdond/ackermann-problem-c
- Owner: BragdonD
- Created: 2022-10-17T12:56:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-17T13:13:23.000Z (almost 3 years ago)
- Last Synced: 2025-03-21T19:44:58.134Z (7 months ago)
- Topics: ackermann, c, problem, recursivity
- Language: C
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ackermann-problem-C
The goal of this project is to show the problems occurying when using recursivity which goes infinitely.
## Result
The problem of using recursivity is that it can cause multiple error:
1. Overflow of the numbers
2. Overflow of the stack## How to use the project
First thing you will need to compile the project with the `makefile` by running the command : `mingw32-make`.
After from the root of the project you can run the program while running the following command :
```
.\bin\main
```
|parameter|type|
|--|--|
|`m` |`int`|
|`n` |`int`|## Structure of the project
The project is divide between the `main` file and the `ui` files. `ui` is for all the functions which are in charge of getting the input from the users.