aboutsummaryrefslogtreecommitdiff
path: root/c11/ex05/include.h
blob: bc922634af34e8d92fd4bf59b8278e3157a0e6c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   include.h                                          :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <charles.cabergs@gmail.com>       +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/07/17 07:38:10 by cacharle          #+#    #+#             */
/*   Updated: 2019/07/18 10:40:10 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef INCLUDE_H
# define INCLUDE_H

/*
** operators.c
*/

int		add(int x, int y);
int		subtract(int x, int y);
int		multiply(int x, int y);
int		divide(int x, int y);
int		modulo(int x, int y);

/*
** parse.c
*/

int		parse(int argc, char **argv);
int		check_floating_point_error(int operator_index, int y);

/*
** helper.c
*/

void	ft_putchar(char c);
void	ft_putnbr(int nb);
int		pow10(int exponent);
int		ft_atoi(char *str);

#endif