Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~656 People Reached
Favorite Tags
c++ x 9
php x 1
Member Avatar for Cy137

I keep receiving the same output for each record when I run it on the test data. I've tried numerous things...any suggestions? I've worked on this for almost twelve hours straight, not counting previous work. I'm hoping one of you guys/gals who know whats going on can point me in …

Member Avatar for mrnutty
0
184
Member Avatar for Cy137

So far, this has worked relatively nicely. However, I am having trouble in outputting to two separate files, and I'm hoping that you guys and gals can help me out. I'm reading in from a file, and outputting to two different files, based on what the input is. If anyone …

Member Avatar for Cy137
1
179
Member Avatar for Cy137

[CODE]<?php //Distance Function function distance($findId, $userToSearch, $userids, &$nodes){ $searchquery="SELECT '($findId)' FROM 'users' WHERE userid='($userToSearch)'"; $queryResult=mysql_query($searchquery); while($blah=mysql_fetch_assoc($queryResult)) { $result=$blah["$findId"]; } if($result == '1'){ return 1; } else{ $userToSearch=array_pop($userids); if($userToSearch!=NULL){ $count=(distance($findId,$userToSearch, $userids, &$nodes)+1); } return $count; } echo "Search Failed. <br>"; return 0; } $SQL2 = "SELECT userid FROM `users`"; $query2=mysql_query($SQL2); while($userid_temp=mysql_fetch_assoc($query2)) …

0
64
Member Avatar for Cy137

I'm trying to write a program in prolog to do symbolic calculus. It's failing on several functions, of which I dont have the *exact* form of the input. These are: Differentiation: Failed: [y_const, const_exp] Integration: Failed: [multi_x, distributive, trig2, trig, const, simple_poly] Any help? [CODE]is_var(x). is_var(y). is_constant(a). is_constant(b). is_constant(c). is_constant(e). …

0
101
Member Avatar for Cy137

I can never get this to work correctly for me, and I'm looking to you guys for help now. This program is going to eventually calculate the betweenness centrality for nodes on a graph, but I'm trying to get the file I/O to work properly. Any ideas? Code in tags …

Member Avatar for vmanes
0
128