Outils pour utilisateurs

Outils du site


tech:script_en_c

Script en C

Tester un bout de code c sans le compiler grâce à TCC

sudo  apt-get install tcc

hello.c

#! /usr/bin/tcc -run
#include<stdio.h>
 
int main(void)
{
        puts("Hello world !");
        return 0;
}
chmod +x hello.c
./hello.c
tech/script_en_c.txt · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki