Click here to Skip to main content
15,919,931 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: comipler construction Pin
PIEBALDconsult24-Sep-09 17:44
mvePIEBALDconsult24-Sep-09 17:44 
AnswerRe: Help need,Spanning Tree Pin
Moreno Airoldi8-Sep-09 9:18
Moreno Airoldi8-Sep-09 9:18 
Questionhelp needed for loops Pin
aihcezs1444-Sep-09 0:11
aihcezs1444-Sep-09 0:11 
AnswerRe: help needed for loops Pin
Richard MacCutchan4-Sep-09 0:18
mveRichard MacCutchan4-Sep-09 0:18 
GeneralRe: help needed for loops Pin
aihcezs1444-Sep-09 0:37
aihcezs1444-Sep-09 0:37 
GeneralRe: help needed for loops Pin
Richard MacCutchan4-Sep-09 0:50
mveRichard MacCutchan4-Sep-09 0:50 
GeneralRe: help needed for loops Pin
aihcezs1444-Sep-09 1:00
aihcezs1444-Sep-09 1:00 
GeneralRe: help needed for loops Pin
Luc Pattyn4-Sep-09 1:09
sitebuilderLuc Pattyn4-Sep-09 1:09 
aihcezs144 wrote:
remainder = num % n;



aihcezs144 wrote:
num=prime;


I suggest you use the single-stepping capabilities of the debugger and either "watch" some variables or add some statements to print intermediate values, as there are major problems with your code.

Is this your first attempt to programming? FYI: statement order is important, and assignment statements work one way (right to left), not both ways (as in mathematical equations).

Smile | :)

Luc Pattyn
Badger | [badger,badger,badger,badger...] Jig | [Dance] Badger | [badger,badger,badger,badger...] Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.Jig | [Dance] Badger | [badger,badger,badger,badger...] Jig | [Dance]

GeneralRe: help needed for loops [modified] Pin
aihcezs1444-Sep-09 2:13
aihcezs1444-Sep-09 2:13 
GeneralRe: help needed for loops Pin
Luc Pattyn4-Sep-09 2:45
sitebuilderLuc Pattyn4-Sep-09 2:45 
GeneralRe: help needed for loops Pin
harold aptroot4-Sep-09 3:23
harold aptroot4-Sep-09 3:23 
QuestionRandom functions family Pin
Quake2Player30-Aug-09 14:31
Quake2Player30-Aug-09 14:31 
AnswerRe: Random functions family Pin
Nuri Ismail31-Aug-09 4:10
Nuri Ismail31-Aug-09 4:10 
QuestionI need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData30-Aug-09 2:43
SimpleData30-Aug-09 2:43 
JokeRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
annathor30-Aug-09 23:23
annathor30-Aug-09 23:23 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData30-Aug-09 23:24
SimpleData30-Aug-09 23:24 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
Richard MacCutchan31-Aug-09 7:29
mveRichard MacCutchan31-Aug-09 7:29 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData31-Aug-09 8:03
SimpleData31-Aug-09 8:03 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
Richard MacCutchan31-Aug-09 9:21
mveRichard MacCutchan31-Aug-09 9:21 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData31-Aug-09 9:31
SimpleData31-Aug-09 9:31 
AnswerRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
supercat931-Aug-09 12:28
supercat931-Aug-09 12:28 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) [modified] Pin
annathor31-Aug-09 21:34
annathor31-Aug-09 21:34 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData31-Aug-09 23:33
SimpleData31-Aug-09 23:33 
AnswerRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
mbyamukama1-Sep-09 21:09
mbyamukama1-Sep-09 21:09 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData2-Sep-09 0:03
SimpleData2-Sep-09 0:03 

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.