Skip to content

42 Common Core Rank 01 - "Ft_Printf" is a copy of stdio.printf() function, recoded with 42 norm and some constraints

Notifications You must be signed in to change notification settings

MaximeJC/42-CommonCore_11.2024_Ft_Printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Disclaimer

[ 🇬🇧 ] Please do not copy-paste this code. In this way, you won't learn a lot. Instead, you can use it to understand how to do some tricky part, but try to redo it by your own. Just to let you know, some files may be incorrect. Some bugs may have passed through, or subject may have changed since I did this project.

[ 🇫🇷 ] S'il vous plait, ne copier-coller pas ce code. De cette manière, vous n'apprendrez pas grand chose. A la place, vous pouvez l'utiliser pour comprendre certaines parties plus complexes du sujet, mais essayez de le refaire par vos propres moyens. Pour information, certains exercices pourraient être incorrects. Quelques bugs pourraient avoir réussi à passer au travers les mailles du filet, ou le sujet a peut-être changé depuis que j'ai complété le projet.


42-CommonCore_11.2024_Ft_Printf

The goal of this 42 common core project is to partly recode stdio libraby's printf() function. This ft_printf() works with :

  • %c Single char
  • %s String
  • %p Void * pointer argument / pointer address in hexadecimal
  • %d Decimal number (base 10)
  • %i Integer (base 10)
  • %u Unsigned decimal (base 10)
  • %x Number in hexadecimal lowercase format
  • %X Number in hexadecimal uppercase format
  • %% Print a percent sign

Common Core Rank 01 - Completed in November 2024
Code by me

About

42 Common Core Rank 01 - "Ft_Printf" is a copy of stdio.printf() function, recoded with 42 norm and some constraints

Topics

Resources

Stars

Watchers

Forks