- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :) |
|
Hi everybody, I'm having a little problem with finding sum of nested list in Prolog. So far what I have is [ICODE] totalSum([],0). totalSum([H|T],S):- totalSum(T,Sum), S is Sum + H. totalSum([H|T],S):- totalSum(H,Sum1), totalSum(T,Sum2), S is Sum1+Sum2. [/ICODE] With first two predicates, I have no problems getting sum of not-nested list. … |
|
Sorry if this is in the wrong section but I wasn't really sure where else. I'm trying to use gcc and -S option in order to produce assembly file. Now, if I do not use -S, I can compile it fine and run it. But once I do use -S, … |
|
Re:
Something hit me today. I've already left A level college and I have no idea what I want to do as a career. Before, I used to tell myself "Software Engineering", but I think I knew a long time ago that it's not something I really want to do. Right … |
|
Re:
Yes, another controversial thread by me :) First of all, Let me just say that I am NOT racist, and that this thread is dedicated to the theory that there are genetic differences among the different human races. Don't be an ignorant fool and simply post 'oh this is bull!!'. … |