{"id":28127618,"url":"https://github.com/vinicius-rio/42-basecamp","last_synced_at":"2026-04-30T10:02:25.139Z","repository":{"id":104444606,"uuid":"407725713","full_name":"vinicius-rio/42-basecamp","owner":"vinicius-rio","description":"Exercises done in basecamp at School 42 - São Paulo unit. (July/2021).","archived":false,"fork":false,"pushed_at":"2023-05-13T18:53:59.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T05:32:04.334Z","etag":null,"topics":["42basecamp","42born2code","c","shell","software-engineering"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinicius-rio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-18T01:43:31.000Z","updated_at":"2022-06-20T20:20:57.000Z","dependencies_parsed_at":"2024-11-06T15:32:47.783Z","dependency_job_id":"93619d3f-d35a-4f9b-8cb4-4c23ac54a522","html_url":"https://github.com/vinicius-rio/42-basecamp","commit_stats":null,"previous_names":["vinicius-rio/42-basecamp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius-rio%2F42-basecamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius-rio%2F42-basecamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius-rio%2F42-basecamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinicius-rio%2F42-basecamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinicius-rio","download_url":"https://codeload.github.com/vinicius-rio/42-basecamp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254129636,"owners_count":22019632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["42basecamp","42born2code","c","shell","software-engineering"],"created_at":"2025-05-14T11:20:30.742Z","updated_at":"2026-04-30T10:02:24.694Z","avatar_url":"https://github.com/vinicius-rio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 42-basecamp\n\n### _Exercises done in basecamp at school 42 - São Paulo unit. (July/ 2021)._\n\nParticipant in the Basecamp of the technology school - 42 São Paulo.\nThis basecamp is the last step in the selection process to become the 42 São Paulo student. We studied and learned some features of the C language, shell, git and github.\n\n\n### _Functions made in this project (C language):_\n\n### _C00:_\n\n- [`ft_putchar`](c/c00/ex00/ft_putchar.c) - write a character that displays the character passed as a parameter.\n- [`ft_print_alphabet`](c/c00/ex01/ft_print_alphabet.c) - displays the alphabet in lowercase, on a single line, by ascending order, starting from the letter ’a’.\n- [`ft_print_reverse_alphabet`](c/c00/ex02/ft_print_reverse_alphabet.c) - displays the alphabet in lowercase, on a single line, by descending order, starting from the letter ’z’.\n- [`ft_print_numbers`](c/c00/ex03/ft_print_numbers.c) - displays all digits, on a single line, by ascending order.\n- [`ft_is_negative`](c/c00/ex04/ft_is_negative.c) - displays ’N’ or ’P’ depending on the integer’s sign entered\nas a parameter. If n is negative, display ’N’. If n is positive or null, display ’P’.\n- [`ft_print_comb`](c/c00/ex05/ft_print_comb.c) - displays all different combinations of three different digits in ascending order, listed by ascending order:\n`012, 013, 014, 015, 016, 017, 018, 019, 023, ..., 789$`\n- [`ft_print_comb2`](c/c00/ex06/ft_print_comb2.c) - displays all different combination of two digits between 00 and 99, listed by ascending order:\n`00 01, 00 02, 00 03, 00 04, 00 05, ..., 00 99, 01 02, ..., 97 99, 98 99$`\n\n### _C01:_\n\n- [`ft_ft`](c/c01/ex00/ft_ft.c) - takes a pointer to int as a parameter, and sets the value \"42\" to that int.\n- [`ft_ultimate_ft`](c/c01/ex01/ft_ultimate_ft.c) - takes a pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to pointer to int as a parameter and sets the value \"42\" to that int.\n- [`ft_swap`](c/c01/ex02/ft_swap.c) - swaps the value of two integers whose addresses are entered as parameters.\n- [`ft_div_mod`](c/c01/ex03/ft_div_mod.c) - divides parameters a by b and stores the result in the int pointed by div.\n- [`ft_ultimate_div_mod`](c/c01/ex04/ft_ultimate_div_mod.c) - divides parameters a by b. The result of this division is stored in the int pointed by a.\n- [`ft_putstr`](c/c01/ex05/ft_putstr.c) - displays a string of characters on the standard output.\n- [`ft_strlen`](c/c01/ex06/ft_strlen.c) - counts and returns the number of characters in a string.\n\n### _C02:_\n\n- [`ft_strcpy`](c/c02/ex00/ft_strcpy.c) - copies the string pointed to by src, including the terminating null byte ('\\0'), to the buffer pointed to by dest.\n- [`ft_strncpy`](c/c02/ex01/ft_strncpy.c) - is similar (strcpy), except that at most n bytes of src are copied.\n- [`ft_str_is_alpha`](c/c02/ex02/ft_str_is_alpha.c) - returns 1 if the string given as a parameter contains only alphabetical characters, and 0 if it contains any other character.\n- [`ft_str_is_numeric`](c/c02/ex03/ft_str_is_numeric.c) - t returns 1 if the string given as a parameter contains only digits, and 0 if it contains any other character.\n- [`ft_str_is_lowercase`](c/c02/ex04/ft_str_is_lowercase.c) - returns 1 if the string given as a parameter contains only\nlowercase alphabetical characters, and 0 if it contains any other character.\n- [`ft_str_is_uppercase`](c/c02/ex05/ft_str_is_uppercase.c) - returns 1 if the string given as a parameter contains only\nuppercase alphabetical characters, and 0 if it contains any other character.\n- [`ft_str_is_printable`](c/c02/ex06/ft_str_is_printable.c) - returns 1 if the string given as a parameter contains only\nprintable characters, and 0 if it contains any other character.\n- [`ft_strupcase`](c/c02/ex07/ft_strupcase.c) - transforms every letter to uppercase.\n- [`ft_strlowcase`](c/c02/ex08/ft_strlowcase.c) - transforms every letter to lowercase.\n\n### _C03:_\n\n- [`ft_strcmp.c`](c/c03/ex00/ft_strcmp.c) - compares the two strings s1 and s2.\n- [`ft_strncmp`](c/c03/ex01/ft_strncmp.c) - is similar (strcmp), except it only compares the first (at most) n bytes of s1 and s2.\n- [`ft_strcat.c`](c/c03/ex02/ft_strcat.c) - appends the src string to the dest string, overwriting the terminating null byte ('\\0') at the end of dest, and then adds a terminating null byte.\n- [`ft_strncat.c`](c/c03/ex03/ft_strncat.c) - is similar (strcat), except it only compares the first (at most) n bytes of s1 and s2.\n- [`ft_strstr.c`](c/c03/ex04/ft_strstr.c) - occurrence of the substring needle in the string haystack. The terminating null\nbytes (\\0) are not compared.\n\n### _C04:_\n\n- [`ft_strlen.c`](c/c04/ex00/ft_strlen.c) - counts and returns the number of characters in a string.\n- [`ft_putstr`](c/c01/ex05/ft_putstr.c) - displays a string of characters on the standard output.\n- [`ft_putnbr.c`](c/c04/ex02/ft_putnbr.c) - shows all possible values in a variable type int.\n- [`ft_atoi.c`](c/c04/ex03/ft_atoi.c) - convert a string to an integer.\n\n### _C05:_\n\n- [`ft_iterative_factorial`](c/c05/ex00/ft_iterative_factorial.c) - an iterated function that returns a number. This number is the result of a factorial operation based on the number given as a parameter.\n- [`ft_recursive_factorial`](c/c05/ex01/ft_recursive_factorial.c) - a recursive function that returns the factorial of the\nnumber given as a parameter.\n- [`ft_iterative_power`](c/c05/ex02/ft_iterative_power.c) - an iterated function that returns the value of a power applied to a number.\n- [`ft_recursive_power`](c/c05/ex03/ft_recursive_power.c) - a recursive function that returns the value of a power applied to a number.\n- [`ft_fibonacci`](c/c05/ex04/ft_fibonacci.c) -  a function ft_fibonacci that returns the n-th element of the Fibonacci sequence, the first element being at the 0 index.\n- [`ft_sqrt`](c/c05/ex05/ft_sqrt.c) - returns the square root of a number (if it exists), or 0 if the square root is an irrational number.\n\u003c!--\n- [`ft_is_prime`](c/c05/ex06/ft_is_prime.c) - returns 1 if the number given as a parameter is a prime\nnumber, and 0 if it isn’t.\n--\u003e\n\n### _C06:_\n\n- [`ft_print_program_name`](c/c06/ex00/ft_print_program_name.c) - show the name of the program.\n- [`ft_print_params`](c/c06/ex01/ft_print_params.c) - show the arguments received on the command line (same order as command line).\n- [`ft_rev_params`](c/c06/ex02/ft_rev_params.c) - show the arguments received on the command line (reverse command line order).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinicius-rio%2F42-basecamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinicius-rio%2F42-basecamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinicius-rio%2F42-basecamp/lists"}