Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi every body ,
I am new in prolog , and i want to make an array. can anyone help me??
Posted

1 solution

 
Share this answer
 
Comments
zahraZa 29-Jan-12 3:29am    
i have read all of them , but i want to access easy to array elements ( but in List this is difficult).
Amir Mahfoozi 29-Jan-12 3:32am    
What do you mean by easy and difficult ?
zahraZa 29-Jan-12 3:38am    
i want to write 8-puzzle code in prolog. for storing number from 1 to 8 i need an array. I think i should use array, is it true?
Amir Mahfoozi 29-Jan-12 3:43am    
"I'm not a prologer but I like prologers" !
Have a look at these pages, may it give you some inspiration:
http://www.sics.se/sicstus/docs/4.0.3/html/sicstus/The-Whole-8_002dQueens-Example.html
http://www.javaist.com/blog/2008/11/06/eight-queens-problem-in-proglog/
Abhinav S 29-Jan-12 4:23am    
Nice links. 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900