Outline · Standard · [ Linear+ ]

> Rekurzija

sladja92
post Mar 24 2008, 10:26 AM
Post #1





Group: Članovi
Joined: 30-July 07
From: KG
Member No.: 606
Status: Van MGa
Ime i prezime: Sladjana Nikolić
Škola/Razred: Prva kragujevačka gimnazija IIsm



treba mi pomoc oko sledeceg zadatka:
treba da se kod rekurzije izbegne prijavljivanje greske stack overflow error
ubacivanjem u program naredbe koja treba da prepozna da ako je ta greska ispise obavestenje
Nadam se da razumete sta hocu da kazem.
Nisam bas najbolja u sklapanju gramatički i pravopisno tacnih recenica. biggrin.gif
Usput radim u Pascalu

This post has been edited by sladja92: Mar 24 2008, 10:27 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topicStart Poll
Replies(1 - 13)
pyost
post Mar 24 2008, 10:27 AM
Post #2


Deus Ex Makina
Group Icon

Group: Administratori
Joined: 25-January 06
From: Beograd
Member No.: 2
Status: Bivši učenik MGa
Škola/Razred: RAF



Koji jezik?


--------------------
Baby, it's a violent world.

Registrovani korisnik Linuxa broj 460770 [Ubuntu 7.10]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
sladja92
post Mar 24 2008, 10:30 AM
Post #3





Group: Članovi
Joined: 30-July 07
From: KG
Member No.: 606
Status: Van MGa
Ime i prezime: Sladjana Nikolić
Škola/Razred: Prva kragujevačka gimnazija IIsm



Pascal
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LoshMeeBre
post Mar 24 2008, 11:12 AM
Post #4


Neko mudo


Group: Članovi
Joined: 28-January 06
From: MunZe
Member No.: 3
Status: Bivši učenik MGa
Ime i prezime: Milos Vucenovic
Škola/Razred: Student ETFa



Ja nemam pojma kako se to radi u pascalu.. O.o Cak nisam siguran ni da je moguce.. Stack overflow dobijes kada previse puta pozivas rekurziju koja stalno kopira svoje argumente.. Ali treba da bude bas previse.. Uglavnom se desava tek kad udjes u beskonacnu rekurziju.. Znam da nisam pomogao, ali eto tongue.gif moram da serem nesto


--------------------
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
pyost
post Mar 24 2008, 11:17 AM
Post #5


Deus Ex Makina
Group Icon

Group: Administratori
Joined: 25-January 06
From: Beograd
Member No.: 2
Status: Bivši učenik MGa
Škola/Razred: RAF



Verovatno je potreban neki ErrorHandler, ali mi to nisam radili unsure.gif


--------------------
Baby, it's a violent world.

Registrovani korisnik Linuxa broj 460770 [Ubuntu 7.10]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
sladja92
post Mar 24 2008, 11:31 AM
Post #6





Group: Članovi
Joined: 30-July 07
From: KG
Member No.: 606
Status: Van MGa
Ime i prezime: Sladjana Nikolić
Škola/Razred: Prva kragujevačka gimnazija IIsm



Ako vi ne znate na trecoj nisam sigurna kako nas cenjeni profesor Guki misli da mi to uradimo na prvoj godini.
Mada kod njega je sve moguce
Cak i da umesto normalnog zadatka zamenom jedne reci dobies zadatak sa olimpijade.
Thanks anyway biggrin.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LoshMeeBre
post Mar 24 2008, 11:34 AM
Post #7


Neko mudo


Group: Članovi
Joined: 28-January 06
From: MunZe
Member No.: 3
Status: Bivši učenik MGa
Ime i prezime: Milos Vucenovic
Škola/Razred: Student ETFa



To i mene cudi smile.gif Mislim ako postoji nesto tipa try/catch iz C#-a onda to nije problem uraditi, ali ja mislim da ne postoji.. A ne vereujem da bi vam dao zadatak a da to nije objasnio... Hmmm, valjda...


Jedino ako nije u pitanju da treba da otkrijes kada ti rekurzija ide u beskonacnost i da je onda prekines...


--------------------
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
pyost
post Mar 24 2008, 11:41 AM
Post #8


Deus Ex Makina
Group Icon

Group: Administratori
Joined: 25-January 06
From: Beograd
Member No.: 2
Status: Bivši učenik MGa
Škola/Razred: RAF



Postoji try/catch, ali u Delphiju.


--------------------
Baby, it's a violent world.

Registrovani korisnik Linuxa broj 460770 [Ubuntu 7.10]
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LoshMeeBre
post Mar 24 2008, 11:42 AM
Post #9


Neko mudo


Group: Članovi
Joined: 28-January 06
From: MunZe
Member No.: 3
Status: Bivši učenik MGa
Ime i prezime: Milos Vucenovic
Škola/Razred: Student ETFa



OPet si ucio unapred siso tongue.gif:P Dzaba, nece ti to pomoci na takmicenju..


--------------------
user posted image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
sladja92
post Mar 24 2008, 11:45 AM
Post #10





Group: Članovi
Joined: 30-July 07
From: KG
Member No.: 606
Status: Van MGa
Ime i prezime: Sladjana Nikolić
Škola/Razred: Prva kragujevačka gimnazija IIsm



Nemam pojma, mislim razumem sta je zamislio ali nemam pojma kako unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
sladja92
post Mar 24 2008, 11:47 AM
Post #11





Group: Članovi
Joined: 30-July 07
From: KG
Member No.: 606
Status: Van MGa
Ime i prezime: Sladjana Nikolić
Škola/Razred: Prva kragujevačka gimnazija IIsm



Svaka cast ja ne ucim ni sve redovno (doduse vecinu predmeta da)
a kamoli unapred.
Mozda nekad na nesto bacim pogled ali tu se uglavnom sve i zavrsava tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Coravatry
post Aug 23 2011, 08:55 AM
Post #12





Group: Članovi
Joined: 7-August 11
From: Tunisia
Member No.: 1.447
Status: Van MGa
Ime i prezime: Coravatry
Škola/Razred: Tunisia



User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Coravatry
post Aug 23 2011, 08:55 AM
Post #13





Group: Članovi
Joined: 7-August 11
From: Tunisia
Member No.: 1.447
Status: Van MGa
Ime i prezime: Coravatry
Škola/Razred: Tunisia



User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Coravatry
post Aug 23 2011, 08:56 AM
Post #14





Group: Članovi
Joined: 7-August 11
From: Tunisia
Member No.: 1.447
Status: Van MGa
Ime i prezime: Coravatry
Škola/Razred: Tunisia



User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicTopic OptionsStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: