775 Posted Topics

Member Avatar for hwoarang69

use Double Buffering, here's a tutorial [http://www.javacooperation.gmxhome.de/BildschirmflackernEng.html](http://www.javacooperation.gmxhome.de/BildschirmflackernEng.html)

Member Avatar for zeroliken
0
148
Member Avatar for zakiraimanaz

>so,if i add listener,then the SAVE button will be ok? by okay, it means that when you'd add a listener you will execute whatever code you've written for the button's function whenever the button is pressed Check the API and Java tutorials, it'll save you a lot of time

Member Avatar for zakiraimanaz
0
736
Member Avatar for hwoarang69

you haven't started the thread, add this on your start method Thread th = new Thread (this); th.start();

Member Avatar for zeroliken
0
168
Member Avatar for smellysocks

Could you tell us the problems, any error messages or runtime problem details plus thats not an Applet thats a Swing

Member Avatar for zeroliken
0
1K
Member Avatar for zeroliken

I bet all Computer Science related courses would learn low level or machine level languanges in due time and in our university we used the portable 80x86 assembler NASM for our Assembly code So here's my experimentation on how to use "functions" and recursion using a Fibonacci Solver as a …

0
1K
Member Avatar for needhelpalways
Member Avatar for Nutster
0
299
Member Avatar for happygeek

I didn't know that me and most of the people I know are nomophobic till I read this

Member Avatar for TonyG_cyprus
2
455
Member Avatar for RonKevin

>still, having problems...phew Can't help you with just that, would ya mind posting more details

Member Avatar for Lucaci Andrew
0
147
Member Avatar for Stpdoug

add a space before %c to catch the enter key pressed scanf(" %c",&c);

Member Avatar for Stpdoug
0
192
Member Avatar for gandalf22

you can see why it doesn't work if you print out the values of the variables before the conditions then you can make the right adjustments

Member Avatar for zeroliken
0
176
Member Avatar for Rohit_5

check [win32 api](http://winprog.org/tutorial/) or [GTK+](http://winprog.org/tutorial/) for a tutorial

Member Avatar for zeroliken
0
47
Member Avatar for andrew mendonca

add all of the scores using a loop with a condition that it must not exceed the number of scores then divide the total value by the number of scores it should look something similar to this for (int i = 0; i < TotalNumberofScores; i++){ Sum += Scores[i]; } …

Member Avatar for vijayan121
0
208
Member Avatar for pjh-10

do you already know how to store values in a 2d 4x4 array? the trick in printing is using a nested for loop that prints the contents using the first index as the counter for the first one and the second index for the second loop while printing a newline …

Member Avatar for pjh-10
0
135
Member Avatar for ncis_sg1

your condition at line 27 is causing this, if your input is valid it will always pass the loop condition thus printing the menu again

Member Avatar for ncis_sg1
0
4K
Member Avatar for ymdeek

you haven't declared n1 to n5 as a variable at main, next create or use a previous variable that would accept the value returned by the maxValue function

Member Avatar for nndung179
0
229
Member Avatar for Ibrahim saulawa
Member Avatar for Atlanta15Braves

in your loop at line 25 you dont need to iterate it 20 times but you use the input instead, use another variable to store the factorial

Member Avatar for JamesCherrill
0
271
Member Avatar for efth

use an array that increments its element depending on the value of the reference array/arraylist as you iterate over it the index of the counting array would depend on which value the current reference array has

Member Avatar for piyush09
0
317
Member Avatar for alyssa.wilkins.77

The error says it all, the actual and formal parameter for printout() at line 70 at names is wrong as it is an array

Member Avatar for dx9_programmer
0
332
Member Avatar for scott88cooper
Member Avatar for Ancient Dragon
0
179
Member Avatar for ravi negi

do you mean the data type [float](http://msdn.microsoft.com/en-us/library/hd7199ke(v=vs.80).aspx)?

Member Avatar for zeroliken
0
95
Member Avatar for Learningvinit
Member Avatar for trd360

I think it would be easier if you'd use an array or an arraylist to have a dynamic length and store a value for each index for the password

Member Avatar for subramanya.vl
0
170
Member Avatar for chandan127

>do you mean it is taking the input from the first or is skipping over taking in another value for the second variable? already answered by *Gonbe* it takes the '\n' input from the first variable although just have to point out that the first one stated (using fflush()) might …

Member Avatar for zeroliken
0
768
Member Avatar for pooja.singh.3950
Member Avatar for lucasbernst

put the condition on line 15 in a loop that checks if the current input has already been used by a previous element, set the index of the array to the counter of that loop

Member Avatar for Lucaci Andrew
0
2K
Member Avatar for Mauricejude1

what's your question about it? possible solution I can think of right now is add the values and save to a variable as you push an element or when the stack already has a content, pop

Member Avatar for JamesCherrill
0
98
Member Avatar for babi.meloo

cout? why use a c++ standard output stream in a java program? use System.out.println() instead

Member Avatar for babi.meloo
0
2K
Member Avatar for Kyle Willett

did you try printing out the contents of the array to see if anything is off or increasing the size of the puzzle by either a column or a row or both by all sides of the puzzle to see if it makes a difference in the results for example …

Member Avatar for Kyle Willett
0
4K
Member Avatar for tanvir.firuz

what compiler are you using? check the sleep function from the unistd.h library if your using linux or windows.h for windows

Member Avatar for Gonbe
0
131
Member Avatar for Icekilla

the row number should be odd so the condition in the inner loop that prints the number should have a limit of row*2-1 for the numbers use conditions that prints out the current row and by incrementing a counter until the odd number corresponding to that row is found then …

Member Avatar for deceptikon
0
272
Member Avatar for israruval007

Could you post the whole language including the constraints just by the current details, the solution would look linear like checking if the next set of input corresponds to the right word like 'h' then 'e' where it could end with just the word 'hello' or 'world', are there any …

Member Avatar for Taywin
0
155
Member Avatar for idlackage
Member Avatar for DelilahDemented

try printing the new top of the stack and next input after every pop/push to have a general view of the problem and see if the current conditions would satisfy the current input and top of stack,

Member Avatar for DelilahDemented
0
181
Member Avatar for anonymous213
Member Avatar for gazzy1

divide the number by ten and hundred to get the value of each digit then use a loop that checks if the digit is odd or even by using the modulo operator (if the number is divisible by 2), if the remainder is 0 then it's even else odd

Member Avatar for Ancient Dragon
0
244
Member Avatar for on93
Member Avatar for zeroliken
0
98
Member Avatar for lena1990
Member Avatar for zeroliken
0
176
Member Avatar for Thembelani

Yes you could use C as the programming language medium for a graphics application and use gcc to compile it but you need to include the openGL header files such as gl/gl.h, etc. which aren't native gcc header files

Member Avatar for mike_2000_17
0
1K
Member Avatar for siram1
Member Avatar for StephenopolousINC

> but this does not address that issue of browser compatibility. check the cross browser solution here [http://html5doctor.com/native-audio-in-the-browser/](http://html5doctor.com/native-audio-in-the-browser/) and a flash fallback for old browsers here [http://www.html5tutorial.info/html5-audio.php](http://www.html5tutorial.info/html5-audio.php) at the end of the article

Member Avatar for StephenopolousINC
0
335
Member Avatar for Darshan5

did you make sure caps lock isn't on or you have administrator privileges?

Member Avatar for mike_2000_17
0
152
Member Avatar for StephenopolousINC

shouldn't this be simple like using the <audio> tag or am I missing a point here?

Member Avatar for StephenopolousINC
0
112
Member Avatar for utchia

>Scanner console = new Scanner(System.in >Scanner console = new Scanner(System.in); Declare this only once and before the loop or the first use of input also post the complete code your working with >and if the book title is something like "animals" and if i type in animal it does not …

Member Avatar for Taywin
0
235
Member Avatar for Sam367
Member Avatar for Sam367
1
160
Member Avatar for carmzy

Have you created an ER Diagram as a guide for creating the database? > So far, these are my tables that i make.but i think this is wrong.and i am confuse on this and what are the tables that i needed in the inventory system are those tables you posted …

Member Avatar for Dili1234
0
3K
Member Avatar for rony001

src="/images/pulpit.jpg" try the following * remove the first backslash " / ", that should be src="images/pulpit.jpg" * make sure that there is an image folder in the same directory as the html webpage * check for spelling errors * check if the image is really in jpeg format src="resources/100_0271.JPG" * …

Member Avatar for JorgeM
0
241
Member Avatar for Slate2006

[QUOTE=adityatandon;1726809][B]For accepting a String :[/B] Cin works for accepting strings till a space is discovered. Instead of using cin.getline you can also use the gets() [available under string.h] function which accepts a string. It stands for 'get string'!! [B]To Find Length of String :[/B] Two ways : 1) Use strlen() …

Member Avatar for Sebelius
0
1K
Member Avatar for WaltP

He's probably just doing a test run for some functions regarding the site to check for bugs etc. and this thread will probably be deleted as soon as he's done with whatever he's doing

Member Avatar for WaltP
1
240
Member Avatar for nitin1

>can't we know who is downvoting or upvoting your posts? you can't only Dani or anyone who have access to the database can see which account upvotes or downvotes your post

Member Avatar for happygeek
0
534

The End.