#includes...inclusioni

C++ Lezione 4: funzioni

papero's profile picture
Published in 
 · 14 Aug 2021
... e, in questo programma la funzione è totalmente inutile, e può solo moltiplicare interi! Ma è solo per mostrarvi come fare funzioni, dopo che avrete compreso le basi spero che sarete capaci di fare qualsiasi cosa da soli. Che cosa fa il mio esempio: #includes...inclusioni di base Cos'è int mult(int x, int y);? E' un prototipo della funzione, senza di esso non potreste utilizzare mult! Cos'è void main()? Dovreste saperlo. Cos'è cout<<endl<<mult(x,y);? Bene, sostanzialmente ci sposta una lin ...
loading
Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT