24 game/C: Difference between revisions

Content added Content deleted
(components for rpn.c)
(→‎24 game: CRT components)
Line 165: Line 165:
===24 game===
===24 game===
Now we have something able to evaluate simple expression; so here it is the game.
Now we have something able to evaluate simple expression; so here it is the game.
{{uses from|Library|C Runtime|component1=rand|component2=RAND_MAX|component3=malloc|component4=strlen|component5=strcpy|component6=strtok|component7=printf|component8=free|component9=ranged_rand|component10=fgets|component11=fabs}}

<lang c>#include <stdio.h>
<lang c>#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>