107 Posted Topics

Member Avatar for supriya14

Please take a look at this [URL="http://www.daniweb.com/forums/thread183778.html"]thread[/URL].

Member Avatar for Protuberance
0
78
Member Avatar for adam291086

Make the following code change [CODE]public board() { setFocusable(true); addMouseListener(new Mouse()); addKeyListener(new Keyboard()); [/CODE] Remove the setFocusable(true) from the main.

Member Avatar for thomas_naveen
0
1K
Member Avatar for tizzo233

Please refer to line 77. Looks like the two numbers are being printed together and appears like a single entity.

Member Avatar for thomas_naveen
0
109
Member Avatar for Nautise
Member Avatar for Nautise
0
127
Member Avatar for javaStud

Please give the entire code. There is nothing wrong with the code segment that you have pasted here.

Member Avatar for thomas_naveen
0
76
Member Avatar for ubi_ct83

Can you give the actual command used to invoke the program? [CODE]for(int i=1;i<=count;i++)[/CODE] Here , the first element in the seed array is getting ignored. This could be the reason that you are getting multiple entries of the same fruit in your result file.

Member Avatar for thomas_naveen
0
114
Member Avatar for ibackus

As Ancient Dragon has mentioned in his post, you should be using 'new' and 'delete' operators in C++. malloc and free can be used in C.

Member Avatar for ibackus
0
141

The End.