Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
2 Commented Posts
0 Endorsements
Ranked #3K
~8K People Reached
Favorite Tags

49 Posted Topics

Member Avatar for ubi_ct83

hi guys, i need help on algorithm to combine letters from a word. for example, i have this word: 'ABCD' . then i want to combine 3 letters from that word. so it comes to these combination: 1- ABC 2- ABD 3- ACD 4- BCD how is the algorithm in …

Member Avatar for JamesCherrill
0
182
Member Avatar for ubi_ct83

hi guys, i really need help on this problem. i have a code, but i need to convert it to algorithm.but i dont know how since im still new in this programming matter. hope u guys can help me please.... thanks for advance. public static void calculateTotalTupples(int p, int s, …

0
62
Member Avatar for ubi_ct83

Hi, i need help on updating data in mysql using JDBC since im using java.i want to send data from arraylist and it seems and error when i run it.below is my code for update. [CODE] private void update(ArrayList<String> list, int uid) { try { Connection con=null; Class.forName ("com.mysql.jdbc.Driver").newInstance (); …

Member Avatar for JamesCherrill
0
674
Member Avatar for ubi_ct83

Hi all, i have a task which is create an algorithm from a java code.and i need help from u guys to check on my algo put a comment on what should i change or why it is wrong. I really appreciate if u could help me on this matter... …

Member Avatar for ubi_ct83
0
158
Member Avatar for ubi_ct83

Hi all, i'm developing a web-base system.user enter the data in mysql.my main system retrieve the data using jdbc.my problem is, i dont know how to make the system keep on checking the new data in database.i want it always check the mysql for any new data. i need your …

Member Avatar for ubi_ct83
0
110
Member Avatar for ubi_ct83

Hi all, my assignement is developing an API. my API should be used by developer in 2 ways.1 is computer base developer and another 1 is web developer.im using java application.the problem is, i dont know what must i have to develop an API for web user

0
68
Member Avatar for ubi_ct83

hi all, how can i view the number of input field base on dropdown menu selection.lets say user choose 3 from dropwdownmenu then 3 input field are viewed

Member Avatar for ubi_ct83
0
226
Member Avatar for ubi_ct83

Hello, i query data from database using jdbc, and there will be a lot of data.how can i solve 1 by 1 of the data?currently, my code just solve the last data. this is the pseudo: [CODE] JDBC connection query data = ResultSet{userid,task_id} while (Resultset()) userid, task_id count++ end close …

Member Avatar for ~s.o.s~
0
92
Member Avatar for ubi_ct83

Hello guys, i wanna built a form which user can enter a list of fruits in it and send to database with BLOB parameter in a same field.example: apple, grape, orange, banana, blackberry, avocado - from form to fruit_list[BLOB] anyone knows how to build the form which users can enter …

Member Avatar for Wraithmanilian
0
1K
Member Avatar for ubi_ct83

Hi guys, ive read an article about using PHP with Java here:[url]http://www.devshed.com/c/a/PHP/Using-PHP-with-Java/[/url] but im a bit confuse to get start with this instruction in this article.i pasted getting started page: [QUOTE]PHP doesn't come with Java support turned on by default, so you'll need to recompile it to enable this support. …

0
80
Member Avatar for ubi_ct83

first of all,i'm sorry if my topic shouldnt be here.i dont know which forum suite with this. currently im using xampp where i can use apache and sql automatically.but, xampp seems not support jscript and i need to code sumthing using jscript.any other software that i can use other than …

Member Avatar for Sarama2030
0
52
Member Avatar for ubi_ct83

Hi, i wanna develop web-based system. use PHP to send data to database.but, from database i use the data to be processed by java application then send back to database.my problem is i cant relate the user and java application.so,im thinking of sending directly data to java application and at …

0
60
Member Avatar for ubi_ct83

hi guys, i have an error to update database because of variable. this is my code UPDATE `payment` SET `check`=1 AND 'amount'=$amountpaid WHERE `check`=0 AND `userid`=$uid $amountpaid id the amount of bill that user paid and $uid is user id.anyone knows how to use variable in sql?

0
61
Member Avatar for ubi_ct83

hi, i would like to ask opinion and comment about my situation.actually i dont know where to locate my thread because i dont know the specific of my question. im developing a web-base system.i use 3-tier architecture.im using html n php in gui,database mysql and for the application im using …

Member Avatar for ubi_ct83
0
168
Member Avatar for ubi_ct83

hi, lets say i have 2 classes 1 is to process the data and another 1 is to connect to mysql. P.java to process the data and Connection.java to connect to mysql.i use JDBC to connect and pass the data through constructor P way=new P(String side).after process the data, i …

Member Avatar for ubi_ct83
0
106
Member Avatar for ubi_ct83

hi and good day to all, i have a problem with my data from the mysql. i have string data from the db and want to process in program(java app),but no out appeared.i suspect something is wrong with the input because, there is no problem if i run with direct …

Member Avatar for ubi_ct83
0
169
Member Avatar for ubi_ct83

hi, if i have this kind of string list: String num_list="1,2,5,3,4,6"; how can i make it in array? arraynum[100]=[1 , 2 , 5 , 3 , 4 , 6]

Member Avatar for masijade
0
74
Member Avatar for ubi_ct83

hi guys, thanks for viewing my thread. i have a program in java application and i want to connect to mysql database because i need to use database for a few parameter.the result will b showed in web-page using php. my question is how can i connect my program to …

Member Avatar for smantscheff
0
169
Member Avatar for ubi_ct83
Member Avatar for AndreRet
0
84
Member Avatar for ubi_ct83

hi all, i dont know how to get the right title of this thread.actually i wanna create a web-based system.i want to combine php n java.but for ui,i want to use html.anything that could help me like tutorial,example of web page code or any else? i appreciate if sumone could …

Member Avatar for JRM
0
90
Member Avatar for ubi_ct83

hi all, i wanna ask some advice and suggestion from u guys about combination php and java application. i want to create a web base system.i wanna use php to communicate with database and my algorithm and calculation using java application.is it possible to do so?if yes,what should i have?such …

Member Avatar for ubi_ct83
0
85
Member Avatar for ubi_ct83

Hi all, hope u guys r fine. i have a question about array.im using double array,but seems cant support bigger size and im planning to change it to arraylist.but the problem is, can i update the data in arraylist? [code] int value[]={9,8,9,7,9,7}; int[][] myTupple = new int[count][value.length]; repetition =1; for(int …

Member Avatar for jon.kiparsky
0
123
Member Avatar for ubi_ct83

hi all, im doing web using java.there is input n output in that page.everytime i want to change the input, i have to open new window.so, i want to settle that problem with just refresh the page.but i dont now how.anyone here can help? thanks for advance......

Member Avatar for ubi_ct83
0
212
Member Avatar for ubi_ct83

hi all, im doing web using java.there is input n output in that page.everytime i want to change the input, i have to open new window.so, i want to settle that problem with just refresh the page.but i dont know how.anyone here can help? thanks for advance......

Member Avatar for NormR1
-1
194
Member Avatar for kerek2

im newbie in programming too.but i wanna share my idea.what i understand is,user key in the list of numbers which the sum of the number must not equal to 100.isnt it? if true,i think u should create an array for int a for list of numbers. then use while like …

Member Avatar for kerek2
0
153
Member Avatar for ubi_ct83

Hi all, i want to ask opinion,advice or mayb solution to my problem. i want to add data from this object to an ArrayList<string>.this is my code: [CODE] class Main { static ArrayList<String> test_case_list=new ArrayList<String> (); public static void main(String[] args) { //do argument.... TestCaseGenerator(s,count,test_suite_list); display_list("Final Result",test_suite_list); } private final …

Member Avatar for NormR1
0
246
Member Avatar for ubi_ct83

[CODE] public static void main(String[] args) { int[] out; for (i=0;i<args.length;i++) { String number_string=new String(); if(args[i].equals("-i")) { if(i+1<args.length) { i++; number_string=args[i]; } StringTokenizer number=new String Tokenizer (number_string,','); int chip_number=number_string.replaceAll("[^,]","").length(); chip_number++; int k=0; while (number.hasMoretokens()) { number_int[k]=Integer.parseInt(number.nextToken()); k++; } } } for(i=chip_number-1;i>=0;i--) { for(j=0;j<number_int[i];j++) { out[j]=j; } //should be a double …

Member Avatar for ubi_ct83
0
105
Member Avatar for ubi_ct83

Hi guys... Thanks for viewing my thread and hopefully u could reply a thing. i have this: input: -i 2,3,4,5 [CODE] public class Main { public static void main (String [] args) { static int value[]; static no_of_parameter; for (int i=0;i<args.length;i++) { if (args[i].equals ("-i")) { String value_str = new …

Member Avatar for ubi_ct83
0
109
Member Avatar for ubi_ct83

hi all, thanks for time to view my thread.hope u guys can reply. i have an algorithm,but the question is how can i code from the algorithm?what should i do maybe in steps? because im really new to programming and i want to know what is the step do we …

Member Avatar for masijade
0
109
Member Avatar for ubi_ct83

Hi guys, ive never visit this forum..this is my 1st time here...i think this is the most suitable forum to my problem.all peoples here is talented about algorithm. want to discuss with u guys and begging your opinion or suggestion to solve my problem. i have this input input[0]={0,1,2,3} input[1]={0,1,2} …

Member Avatar for ubi_ct83
0
86
Member Avatar for Nepenthe

did u mean a user input? if so, u can ask user how many books they want 1st.use box to get user input. User can choose whether individual,library or school also by using user input box.then only continue with your flow chart

Member Avatar for ubi_ct83
0
188
Member Avatar for evak77

just use '['code] your code....... //'['/code] note: without ' i dont see any main method..im also new in java.

Member Avatar for DeadSoul
-1
105
Member Avatar for ubi_ct83

Hi guys, want to discuss with u guys and begging your opinion or suggestion to solve my problem. i have this input input[0]={0,1,2,3} input[1]={0,1,2} input[2]={0,1,2,3} input[3]={0,1} value=2,3 and when value=3,binary binary[0]={0,1,1,1} binary[1]={1,0,1,1} binary[2]={1,1,0,1} binary[3]={1,1,1,0} and when value=2,binary binary[0]={0,0,1,1} binary[1]={0,1,1,0} binary[2]={1,1,0,0} binary[3]={1,0,0,1} if user choose value=2,result should b like this: (i …

Member Avatar for ubi_ct83
0
81
Member Avatar for ubi_ct83

Hello experts, actually i have a situation like this. i have a drop down menu value:{2,3,4,5,6}. there is a common operation need to be done if any number in menu list chosen.each of the number must have different number of layers. if user choose 2 means 2 layers,if 3 means …

Member Avatar for ubi_ct83
0
155
Member Avatar for ubi_ct83

Hi and thanks for viewing my thread, i have a problem with JComboBox. in my situation, i have a code that display JTextArea and JComboBox. this is my code: [code] public class JScrollPanes extends JApplet { //-------------------------------------------------- static String[] t_value2 = { "2", "3", "4", "5", "6" }; // ----------------------------------------------- …

Member Avatar for javaAddict
0
65
Member Avatar for ubi_ct83

Hi all, i want to ask u guys what else i need to do to run this code? i have JDK. i have these file in my c:/program files/java/jdk1.6.0_16 c:/program files/java/jdk1.6.0_18 c:/program files/java/jre6. if i want to run this code,what do i need to do? [CODE] import java.awt.graphics; class HelloWorldApplet …

Member Avatar for jwenting
0
96
Member Avatar for ubi_ct83

Hi all, FYI im really new in Java.last time my project was in C but suddenly my supervisor changed to Java.i got the code from him (see below).wanna ask u guys how to learn Java and these means? Lastly, how to create dropdown menu? [CODE] import java.awt.Color; import java.awt.Container; import …

Member Avatar for tiny7415
0
121
Member Avatar for ubi_ct83

Hi all, Thanks to all of u for welcoming me as a user in this friendly web. actually im not new,but i never intro myself. Im a student and still learning c.not new learner but new in seriously involve with c. anything that could improve my skill or information about …

Member Avatar for jephthah
0
28
Member Avatar for ubi_ct83

Hi all, My problem is regarding to my last post about argument. that is solved but it create a new problem. The last data in debug_file is not written in output file. I think its because of looping in the argument.How to solve this? [code] int main(int argc, char* argv[]) …

Member Avatar for ubi_ct83
0
120
Member Avatar for ubi_ct83

i have this code: [code] int main(int argc, char* argv[]) { remove(debug_file); count=0;//count d number of seeding for (int i = 1; i < argc; i++) { /* Check for a switch (leading "-") */ if (argv[i][0] == '-') { /* Use the next character to decide what to do. …

Member Avatar for ubi_ct83
0
123
Member Avatar for ubi_ct83

hi all, thanks for reading my post. sorry about the tittle (so whatever ;)) i have this situation. i have an array like this: lemon banana pineapple and i have fruit.txt which has this inside: corn melon berry blackcurrent apple what i want to do is, i want to copy …

Member Avatar for WaltP
0
72
Member Avatar for ubi_ct83

hi and thanks for advance, i have a problem to compare between 2 arrays. i have a file name fruit_file which has a content like this: apple orange mango banana papaya and i have an seed array from arg list which is; mango lime pineapple peach i want to copy …

Member Avatar for thomas_naveen
0
114
Member Avatar for ubi_ct83

Hi experts, i have this line of string: a1,b2,c3,a2,b1,c2,a3,b2,c4, from this line,i want to load into a string array like this: array[0]=a1,b2,c3, array[1]=a2,b1,c2, array[3]=a3,b2,c4, seriously i have no idea at all.ive done sumthing but looks like rubbish.i really hope dat u experts can help me. thanks for advance [CODE] void …

Member Avatar for Ancient Dragon
0
89
Member Avatar for ubi_ct83

hello guys, i have this code in java.but i need to convert to c.but i dont know java at all.hope u can help me.thanks for advance [CODE] public class Main { static int t_value=2; static int no_of_parameter = 0; String binary_setting; static int data[]; static ArrayList<String> constraint = new ArrayList<String>(); …

Member Avatar for yellowSnow
0
105
Member Avatar for DoEds

can try, while(fgets(temp, sizeof(temp), file) != NULL) or u can use double array [code=c] char temp[100][190]; int count=0; while(fgets(char temp[count],190,file)!= NULL) { printf( "%s\n" ,temp[count]); count++; } fclose (file); [/code] p/s:im beginner too

Member Avatar for DoEds
0
116
Member Avatar for ubi_ct83
Member Avatar for kvprajapati
0
179
Member Avatar for ubi_ct83

i have loaded the string data from file to double array.this is example: const_array[1][]=a1,b1,c3, const_array[2][]=a2,b1,c3, const_array[3][]=a3,b2,c2, const_array[4][]=a2,b3,c1, const_array[5][]=a3,b2,c1, those data need to be compared to this string: append_test_data.this is also an array and it will be changed randomly by d program.the prob is,my prog just compare to the last data …

Member Avatar for ubi_ct83
0
621
Member Avatar for ubi_ct83

Sorry for the messy tittle.i dont know what suit with my prob. i have posted a thread last time about string array and compare them with some data.seems like no solution for that,i want to try this way.i want to use double array. same case, i have a file with …

Member Avatar for Salem
0
164
Member Avatar for ubi_ct83

hi experts, i have some prob with my code.first,i want to query data from file in string.such as this file "constraint.txt".in this file,i have this: a1,b2,c1, a2,b1,c2, a2,b2,c1, a3,b1,c2, i open th file by using this code: char const_file[100]="constraint.txt"; FILE *in_const[100]; if ((in_const = fopen(const_file, "rt")) == NULL) { fprintf(stderr, …

Member Avatar for ubi_ct83
0
102

The End.