- 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: a slice of cold pizza that was left over from yesterday... | |
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: You can start by modding games that you like. How? google. I haven't done any game dev but am definitely interested in it. A good friend of mine who now works in Rockstar always modded a game in his spare time. He recommended Jedi Knight as a good game to … | |
Re: We all know IQ tests are biased. The population who take it don't reflect the general population enough to judge whether a certain race is more intelligent than another. And intelligence is only one aspect of life. I believe intelligence comes from education and one's surrounding. So, african americans, good … |