Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~615 People Reached
Favorite Tags
c++ x 5
php x 5
Member Avatar for panatda.tokhume

<html> <head> <title>Nutrient</title> </head> <body> <? $filName = "resource.txt"; $objWrite = fopen($filName, "w"); $objConnect = mysql_connect("localhost","u52030177","guillaume") or die("Error Connect to Database"); $objDB = mysql_select_db("u52030177"); $strSQL = "SELECT * FROM Nutrient"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); //$link = mysql_connect("localhost","u52030623","u52030623"); //mysql_select_db("u52030623"); mysql_query("SET NAMES UTF8"); //$sql = mysql_query("select * from …

Member Avatar for panatda.tokhume
0
175
Member Avatar for panatda.tokhume

<html> <head> <title>Nutrient</title> </head> <body> <? $filName = "resource.txt"; $objWrite = fopen($filName, "w"); $objConnect = mysql_connect("localhost","u52030177","guillaume") or die("Error Connect to Database"); $objDB = mysql_select_db("u52030177"); $strSQL = "SELECT * FROM Nutrient"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); //$link = mysql_connect("localhost","u52030623","u52030623"); //mysql_select_db("u52030623"); mysql_query("SET NAMES UTF8"); //$sql = mysql_query("select * from …

Member Avatar for panatda.tokhume
0
255
Member Avatar for panatda.tokhume

#include<iostream> #include<fstream> #include<sstream> #include<stdlib.h> #include<math.h> #include<iomanip> using namespace std; int main() { int NUM_Object,NUM_Medoid; cout<<"How many menus u have?"<<endl; cin>>NUM_Object; cout<<"How many Medoids(k) do you want?"<<endl; cin>>NUM_Medoid; ifstream myfile("Nutrient.txt", ios::in); int i,j,k,count; count = 0; float TEMP_num; double Object[NUM_Object][5]; double Medoid[NUM_Medoid][5],Medoid_New[NUM_Medoid][5],SUM_Distance[NUM_Medoid],SUM_Pij[NUM_Medoid], SUM_P[NUM_Medoid],SUM_Distance_New[NUM_Medoid],SUM_Pij_New[NUM_Medoid],SUM_P_New[NUM_Medoid]; long double Distance[NUM_Object][Object]; for(i=0;i<NUM_Object;i++) { for(j=0;j<NUM_Object;j++) { Distance[i][j] …

Member Avatar for panatda.tokhume
0
185