Download the file and add missing header files to code
#include <stdio.h>
#include <string.h>
then just compile and run
$ gcc donut.c && ./a.out
it looks best with white text and black background
Featured Content Ads
add advertising hereİnclude those lines top of the code and compile your code with -lm
#include <stdio.h>
#include <string.h>
#include <math.h>
<iframe width=”560″ height=”315″ src=”https://www.youtube-nocookie.com/embed/DEqXNfs_HhY?controls=0″ title=”YouTube video player” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>
Notes :
I used:
i686-w64-mingw32-gcc donut.c -lm
to make an .exe output.any idears?
Edit:
I tried:
i686-w64-mingw32-gcc donut.c && ./a.exe
and th donut spins, but verry slow and i can now output an .exeFeatured Content Ads
add advertising hereCOGNAC Metaverse
Explore World's first metaverse that is as real as our Real world.
https://cognac.knowasiak.comEdit 2: When I start te standalone exe it just prints a lot of donuts. Bute when it is started in a termenial (cmd/powershell) it spinns slow