Click here to Skip to main content
16,011,754 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: is it possible? Pin
dusty_dex12-May-13 0:13
dusty_dex12-May-13 0:13 
GeneralRe: is it possible? Pin
dusty_dex12-May-13 12:38
dusty_dex12-May-13 12:38 
GeneralRe: is it possible? Pin
Hakan Bulut12-May-13 21:17
Hakan Bulut12-May-13 21:17 
GeneralRe: is it possible? Pin
dusty_dex13-May-13 1:24
dusty_dex13-May-13 1:24 
GeneralRe: is it possible? Pin
Hakan Bulut13-May-13 2:44
Hakan Bulut13-May-13 2:44 
GeneralRe: is it possible? Pin
dusty_dex13-May-13 3:24
dusty_dex13-May-13 3:24 
GeneralRe: is it possible? Pin
Hakan Bulut13-May-13 4:23
Hakan Bulut13-May-13 4:23 
GeneralRe: is it possible? Pin
dusty_dex13-May-13 4:51
dusty_dex13-May-13 4:51 
Have you used the very first version?

I posted it again, and that version does work. It should look like this
lucky numbers: (without duplicates)
9 10 38 40 46 48 11 42 45 47 1 19 26 30 31 
used numbers:
1 0 0 0 0 0 0 0 9 10 11 0 0 0 0 0 0 0 19 0 0 0 0 0 0 26 0 0 0 30 31 0 0 0 0 0 0 38 0 40 0 42 0 0 45 46 47 48 0 
unused numbers:
2 3 4 5 6 7 8 12 13 14 15 16 17 18 20 21 22 23 24 25 27 28 29 32 33 34 35 36 37 39 41 43 44 49


It was this and a few minor {} [] differences I overlooked. I had converted Java code back to javascript and posted it without checking. Sorry.

JavaScript
//===== Required by Javascript ======
for (int i=0; i < MAX_DATA; i++) {
    duplicates[i]=0;
}
//===================================


Smile | :)

I will send you an email.



modified 13-May-13 10:59am.

GeneralRe: is it possible? Pin
dusty_dex13-May-13 13:38
dusty_dex13-May-13 13:38 
GeneralRe: is it possible? Pin
dusty_dex15-May-13 6:00
dusty_dex15-May-13 6:00 
GeneralRe: is it possible? Pin
Hakan Bulut15-May-13 7:51
Hakan Bulut15-May-13 7:51 
GeneralRe: is it possible? Pin
dusty_dex15-May-13 8:45
dusty_dex15-May-13 8:45 
GeneralRe: is it possible? Pin
Hakan Bulut15-May-13 21:52
Hakan Bulut15-May-13 21:52 
GeneralRe: is it possible? Pin
dusty_dex15-May-13 23:04
dusty_dex15-May-13 23:04 
GeneralRe: is it possible? Pin
dusty_dex15-May-13 23:28
dusty_dex15-May-13 23:28 
GeneralRe: is it possible? Pin
Hakan Bulut15-May-13 23:52
Hakan Bulut15-May-13 23:52 
GeneralRe: is it possible? Pin
dusty_dex16-May-13 0:12
dusty_dex16-May-13 0:12 
GeneralRe: is it possible? Pin
Richard MacCutchan11-May-13 4:06
mveRichard MacCutchan11-May-13 4:06 
GeneralRe: is it possible? Pin
Hakan Bulut11-May-13 4:28
Hakan Bulut11-May-13 4:28 
GeneralRe: is it possible? Pin
Richard MacCutchan11-May-13 4:30
mveRichard MacCutchan11-May-13 4:30 
QuestionHow do I hide a column using JQuery? Pin
AshwiniRS7-May-13 23:35
AshwiniRS7-May-13 23:35 
AnswerRe: How do I hide a column using JQuery? Pin
walterhevedeich8-May-13 1:03
professionalwalterhevedeich8-May-13 1:03 
GeneralRe: How do I hide a column using JQuery? Pin
AshwiniRS8-May-13 2:07
AshwiniRS8-May-13 2:07 
GeneralRe: How do I hide a column using JQuery? Pin
Manfred Rudolf Bihy8-May-13 2:30
professionalManfred Rudolf Bihy8-May-13 2:30 
GeneralRe: How do I hide a column using JQuery? Pin
AshwiniRS8-May-13 20:34
AshwiniRS8-May-13 20:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.