Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi every body ,
I am new in prolog , and i want to make an array. can anyone help me??
Posted 28-Jan-12 21:46pm
zahraZa375

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
zahraZa at 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 at 29-Jan-12 3:32am
   
What do you mean by easy and difficult ?
zahraZa at 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 at 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 at 29-Jan-12 4:23am
   
Nice links. 5.
Amir Mahfoozi at 29-Jan-12 4:25am
   
Thanks Abhinav :)

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

  Print Answers RSS
0 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 BillWoodruff 85
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 29 Jan 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100