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
7
Posts with Downvotes
2
Downvoting Members
4
4 Commented Posts
0 Endorsements
~18.3K People Reached
About Me

I am good at what I do.

Favorite Forums
Favorite Tags
Member Avatar for enakta13

I have a char array which need to check each and every character untill there is no more character to check, so in C usually we write as: for(i=0;my_num_Array[i]!='\0';i++) { // some code here } But when i tried the same for java it isn't working! Any idea what should …

Member Avatar for Stungkuling
0
16K
Member Avatar for enakta13

Hello, I am currently struck! I need a way to stop an already ongoing process by a button, using another button. Explanation:- 1st Button Action private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { . . some actions which is a ongoing running (for ex: timer countdown) . . } 2nd Button Action private …

Member Avatar for stultuske
0
355
Member Avatar for enakta13

#include<stdio.h> #include<conio.h> main() { int a[5],priority[5],adj[5][5]={0},i,j,k; a[0]=3; a[1]=4; a[2]=5; a[3]=7; a[4]=10; adj[0][1]=1; adj[0][2]=1; adj[0][3]=1; adj[1][0]=1; adj[2][0]=1; adj[2][4]=1; adj[3][0]=1; adj[4][2]=1; /* the ads[4][4] represents the linking edges adj[4][4]= 0 1 1 1 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 1 …

Member Avatar for TrustyTony
0
159
Member Avatar for enakta13

I have created the buttons for on-screen keyboard. The only thing I don't know is how to add the corresponding letter/character via actionListener to the jTextField. I know if it was not jTextField I could use "append".

Member Avatar for Krokcy
0
285
Member Avatar for enakta13
Member Avatar for enakta13

I intend to write a GUI java program which convert a decimal(base 10) to hexadecimal(base 16). Floating point decimals are also valid input. the code of my program private void myEnterButtonActionPerformed(java.awt.event.ActionEvent evt) { float mynum; mynum = Float.parseFloat(this.myNumberField.getText()); Float floatObject = Float.valueOf(mynum); myResultField.setText(Float.toHexString(mynum)); } but when I run the program, …

Member Avatar for enakta13
0
426
Member Avatar for enakta13

I am making a simple GUI program in java. In this program I have made a simple jFrame where there is two separate textField, one for user input number(data type: double) and another for square of the input number as answer. What I want is: * The event action to …

Member Avatar for mKorbel
0
769
Member Avatar for enakta13

I have made a keyTyped event java program. Now it display square for each single number i typed through keyborad. **What i want is this:** 1. when i type 1 answer to be displayed 1 2. Again when i type 2 answer to be 144, not 4. So any Idea …

Member Avatar for stultuske
0
173
Member Avatar for enakta13

Explanation: suppose an expression -23+5-9/(5*2) is entered then i want output as Numbers: -23 +5 +9 +5 +2 Operators: + - / * () Is it possible?

Member Avatar for enakta13
0
159
Member Avatar for enakta13

I am struck with some floating-point precision. Please help me to get through this. [CODE]main() { int fact,i=5,div=8; float dec=0.427,temp,sum=0; while(i) { temp=dec*10; printf("%f\t",temp); fact=(int)temp; sum=sum+(fact/(float)div); printf("%f\n",sum); dec=temp-fact; div=div*8; i--; } printf("\n The Decimal part= %f",sum); getch(); } [/CODE] [ICODE]Output 4.270000 0.500000 2.700000 0.531250 6.999998 0.542969 9.999981 0.545166 9.999809 0.545441 …

Member Avatar for WaltP
0
232