Outils pour utilisateurs

Outils du site


tech:script_en_c

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

tech:script_en_c [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:script_en_c [2025/11/11 22:51] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Dev C}}
 +
 +# Script en C
 +
 +Tester un bout de code c sans le compiler grâce à TCC
 +
 +~~~bash
 +sudo  apt-get install tcc
 +~~~
 +
 +''hello.c''
 +~~~c
 +#! /usr/bin/tcc -run
 +#include<stdio.h>
 +
 +int main(void)
 +{
 +        puts("Hello world !");
 +        return 0;
 +}
 +~~~
 +
 +~~~bash
 +chmod +x hello.c
 +./hello.c
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki