Bozza della libreria

This commit is contained in:
2024-10-23 22:13:45 +02:00
commit 24d1dbb878
7 changed files with 91 additions and 0 deletions

15
libreria/linguaggio.i Normal file
View File

@@ -0,0 +1,15 @@
#ifndef LINGUAGGIO_I
#define LINGUAGGIO_I
#define se if
#define altrimenti else
#define per for
#define finche while
#define finché while
#define fare do
#define ritorna return
#define principale main
#endif

0
libreria/mat.i Normal file
View File

12
libreria/nrmiu.i Normal file
View File

@@ -0,0 +1,12 @@
#ifndef NRMIU_I
#define NRMIU_I
#include "linguaggio.i"
#include "tipi.i"
#include <stdio.h>
#define stampaf printf
#define leggif scanf
#endif

0
libreria/stringa.i Normal file
View File

18
libreria/tipi.i Normal file
View File

@@ -0,0 +1,18 @@
#ifndef TIPI_I
#define TIPI_I
#define corto short
#define lungo long
#define naturale unsigned
#define car char
#define vuoto void
#define cost const
#define mobile float
#define doppia double
#define NULLO 0
#endif