Comments (17)
Ho fatto un abbozzo veloce.
from cai.
avevo detto di non scrivere codice ... e come previsto hai scritto solo fesserie
from cai.
ricominciamo. Il modulo random è responsabile di ... ?
from cai.
Estrarre 2 numeri casuali
from cai.
più o meno. Ricorda che il modulo è qualcosa di riutilizabile in altri programmi.
Quindi come dicevi prima sarà responsabile dell'inizializzazione del seme e sarà responsabile dell'estrazione di un numero casuale.
Tieni presente che il modulo random non ne sa (e non ne deve sapere) niente del programma che stai facendo
from cai.
Ah sì c'è anche l'inizializzazione del seme
from cai.
decidiamo i prototipi delle funzioni
from cai.
random_init() e random_extraction()
from cai.
random_init() te la passo.
l'altra no. In ogni caso devi specificare i parametri e dire cosa ci si aspetta che facciano
from cai.
random_init() non vuole nulla come parametro e inizializza il seme;
random_extraction() potrebbe avere come parametri un min e un max.
from cai.
va bene.
ma visto che siamo programmatori che ti costa scrivere i prototipi?
from cai.
Mo avete detto niente codice! ahah faccio subito
2016-06-07 22:34 GMT+02:00 Fabio Z Tessitore [email protected]:
va bene.
ma visto che siamo programmatori che ti costa scrivere i prototipi?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#2 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/APQmnc7Je5EkOMyqaXWHKpxX4XNP-WSsks5qJdXZgaJpZM4IvKw0
.
from cai.
qua.
from cai.
Ah ok
random_init();
random_extract(int min, int max);
from cai.
ok. crea solo il file random.h
Per il momento niente implementazione
from cai.
ps eppure hai mancato i tipi di ritorno hahaha
from cai.
Ahahah
void random_init();
int random_extract(int min, int max);
from cai.
Related Issues (13)
- Descrizione HOT 12
- gitignore HOT 1
- Makefile HOT 9
- Cai HOT 29
- cai.c HOT 4
- random.c
- generazione di numeri pseudo casuali HOT 1
- es 5.34
- versione python HOT 9
- modulo random HOT 8
- pulizia HOT 1
- es 5.44 HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cai.