An open API service indexing awesome lists of open source software.

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

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.