0
Upcoming SlideShare
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Standard text messaging rates apply

# Recursivitate: Aplicatii in C

4,056

Published on

Aplicatii la capitolul recursivite. …

Aplicatii la capitolul recursivite.
C.D.Loga, Timisoara

Published in: Education
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total Views
4,056
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
40
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Transcript

• 1. Recursivitate ing. Alexandru IOVANOVICI februarie 2010 Colegiul Na ţional “C. D. Loga”, Timi şoara
• 2. Multumiri <ul><li>Aceasta prezentare are la baza materialul suport de curs al conf. dr. ing. Marius MINEA de la Universitatea POLITEHNICA , Timisoara, care poate fi gasit la adresa: http:// www.cs.utt.ro/~marius/curs/lp/index.html </li></ul><ul><li>De asemenea o parte dintre exemple sunt preluate din bibliografia indicata la sfarsit. </li></ul>
• 3. Ce veti stii ? <ul><li>Sa recunoasteti un fenomen/proces recursiv; </li></ul><ul><li>Sa identificati conditia de terminare; </li></ul><ul><li>Sa formulati un algoritm recursiv in termeni de pseudocod; </li></ul><ul><li>Sa implementati un algoritm recursiv in C/C++ </li></ul><ul><li>Mai multa matematica; </li></ul><ul><li>Ceva elemente de “hardcore C”  </li></ul>
• 4. Operatorul ternar in C: reamintire <ul><li>?:  este un operator ternar, parte a sintaxei unei expresii conditionale, intalnit intr-o serie de limbaje de programare; se mai numeste operator conditional </li></ul><ul><li>Sintaxa: e1 ? e2:e3; </li></ul><ul><li>GNU C: a=x?:y; ↔ a = x ? x : y; </li></ul>La lucrare 
• 5.
• 6.
• 7.
• 8.
• 9.
• 10.
• 11.
• 12.
• 13.
• 14.
• 15.
• 16.
• 17.
• 18.
• 19.
• 20.
• 21.
• 22.
• 23.
• 24.
• 25. Bibliografie/Referinte <ul><li>Marius MINEA – Programarea calculatoarelor , Curs Universitar, Univ. POLITEHNICA, www.cs.utt.ro/~marius </li></ul><ul><li>Robert SEDGEWICK – Algorithms , Addison-Wesley 1983; </li></ul><ul><li>Thomas H Cormen, Charles E Leiserson, Ronald L Rivest, Clifford Stein (CLR) - Introduction to Algorithms, McGraw-Hill 2 nd . edition, 2001; </li></ul><ul><li>Robert Sedgewick - Algorithms in Java, Part 5: Graph Algorithms (3rd Edition) , Addison-Wesley Professional; 3 rd . Edition, 2003 </li></ul><ul><li>Orice manual autorizat; </li></ul><ul><li>Google  </li></ul>
• 26. Intrebari … <ul><li>? </li></ul>