View Single Post
  #5 (permalink)  
Old 05-09-2008, 07:04 PM
kckc314 kckc314 is offline
Novice
Join Date: Apr 2008
Posts: 14
iTrader: (0)
kckc314 is on a distinguished road
i understand what you are saying. but in my 2-d array, there are some criterias to meet, i am not just checking it row by row and column by column till the end. if that's the case then i can use 2 nested for loops. according to the criterias, first if i go with a row or column, if i hit '#' or marked empty space then i have to turn horizontally or vertically within the square 2d array. that's why i find recursion function and bunch of if else statements best suit for this situation.

now my concern is, on the very first message that i posted, are there any errors related to basic concept in C? coz it doesn't do any job and produce output.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote