Welcome Guest (
Log In
|
Register
)
|
Members
|
Help
Totem's Lair Forum
»
Vb.Net in teoria
Funzioni ricorsive
«
Older topic
|
Newer topic
»
Track this topic
|
Email this topic
|
Print this topic
cassin.simone
Posted on
28/5/2009, 14:59
programmatore
Group: Member
Posts: 73
Status:
Leggendo la guida non ho ben capito cosa sono le funzioni ricorsive e come utilizzarle. Qualcuno me lo potrebbe spiegare meglio?
Grazie
SC
Simone Cassin Website
=> Programmazione C++, Pascal, PHP, Html, Css e molto altro!
Il Totem
Posted on
21/6/2009, 12:34
L'unico, il vero Totem
Group: Administrator
Posts: 841
Location: Dall'insieme C
Status:
Una funzione ricorsiva è una funzione che richiama se stessa nel proprio corpo. Esempio:
CODICE
Function Fattoriale(ByVal N As Int32) As Int32
If N = 1 Then
Return 1
Else
Return N * Fattoriale(N - 1)
End If
End Function
Guida completa al VB.Net
1 replies since 28/5/2009, 14:59
Track this topic
|
Email this topic
|
Print this topic
Vb.Net in teoria
Fast reply
FONT
Arial
Times
Courier
Impact
Geneva
Optima
SIZE
Small
Large
Largest
COLOR
Blue
Red
Purple
Orange
Yellow
Gray
Green
Pick colour
-
HTML Editor
Guided Mode
Normal Mode
Track this topic
Enable emoticons
Clickable Smilies
Show All
Nickname:
Email:
Jump
------------
Help and Guides
·
Support Board
·
Top Forum
·
Top Blog
·
ForumCommunity
·
BlogFree
Create your free board
and your free blog!
·
Contacts
· Powered by
ForumFree