From ad9867052d496f2c2a7f120a512208fb4dd4e787 Mon Sep 17 00:00:00 2001 From: Cabergs Charles Date: Wed, 24 Jul 2019 18:57:19 +0200 Subject: exam02 --- exam02/subjects/4-0-ft_atoi/subject.en.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 exam02/subjects/4-0-ft_atoi/subject.en.txt (limited to 'exam02/subjects/4-0-ft_atoi/subject.en.txt') diff --git a/exam02/subjects/4-0-ft_atoi/subject.en.txt b/exam02/subjects/4-0-ft_atoi/subject.en.txt new file mode 100644 index 0000000..ebfe92b --- /dev/null +++ b/exam02/subjects/4-0-ft_atoi/subject.en.txt @@ -0,0 +1,13 @@ +Assignment name : ft_atoi +Expected files : ft_atoi.c +Allowed functions: None +-------------------------------------------------------------------------------- + +Write a function that converts the string argument str to an integer (type int) +and returns it. + +It works much like the standard atoi(const char *str) function, see the man. + +Your function must be declared as follows: + +int ft_atoi(const char *str); -- cgit