Click here to Skip to main content
15,888,293 members
Home / Discussions / C#
   

C#

 
GeneralRe: In which event i can read the access card Pin
V K Gupta30-Jul-08 2:37
V K Gupta30-Jul-08 2:37 
GeneralRe: In which event i can read the access card Pin
carbon_golem30-Jul-08 2:47
carbon_golem30-Jul-08 2:47 
QuestionConverting Dataview to a Datatable. Pin
salmonraju30-Jul-08 0:15
salmonraju30-Jul-08 0:15 
AnswerRe: Converting Dataview to a Datatable. Pin
ElSpinos30-Jul-08 2:33
ElSpinos30-Jul-08 2:33 
GeneralRe: Converting Dataview to a Datatable. Pin
salmonraju30-Jul-08 2:43
salmonraju30-Jul-08 2:43 
AnswerRe: Converting Dataview to a Datatable. Pin
Syed Shahid Hussain30-Jul-08 17:04
Syed Shahid Hussain30-Jul-08 17:04 
QuestionBubblesort Algorithm Pin
Vandretta30-Jul-08 0:12
Vandretta30-Jul-08 0:12 
AnswerRe: Bubblesort Algorithm Pin
Simon P Stevens30-Jul-08 0:28
Simon P Stevens30-Jul-08 0:28 
I'm hesitant to just give you the answer because this is a classic homework problem. Instead I'll give you some hints. (You'll feel better if you solve it yourself anyway)

Start by attaching a debugger and stepping through the code in the bubble sort routine line by line.

Each pass of a bubble sort should compare each adjacent pair of values. This routine doesn't. Look closely at the indexes you are using to the array being sorted. (Put watches on the values)

Simon

GeneralRe: Bubblesort Algorithm Pin
Vandretta30-Jul-08 11:01
Vandretta30-Jul-08 11:01 
GeneralRe: Bubblesort Algorithm Pin
Simon P Stevens30-Jul-08 21:32
Simon P Stevens30-Jul-08 21:32 
GeneralRe: Bubblesort Algorithm Pin
Vandretta31-Jul-08 0:13
Vandretta31-Jul-08 0:13 
QuestionString manipulation Pin
vinoth.cv130-Jul-08 0:01
vinoth.cv130-Jul-08 0:01 
AnswerRe: String manipulation Pin
Simon P Stevens30-Jul-08 0:19
Simon P Stevens30-Jul-08 0:19 
GeneralRe: String manipulation Pin
leppie30-Jul-08 0:26
leppie30-Jul-08 0:26 
GeneralRe: String manipulation Pin
Simon P Stevens30-Jul-08 0:31
Simon P Stevens30-Jul-08 0:31 
AnswerRe: String manipulation Pin
PIEBALDconsult30-Jul-08 4:26
mvePIEBALDconsult30-Jul-08 4:26 
QuestionCTRL+C and CTRL+V in grid control Pin
eli1502197929-Jul-08 23:51
eli1502197929-Jul-08 23:51 
AnswerRe: CTRL+C and CTRL+V in grid control Pin
paas30-Jul-08 4:25
paas30-Jul-08 4:25 
QuestionGet method name as string Pin
Nicholas Butler29-Jul-08 23:36
sitebuilderNicholas Butler29-Jul-08 23:36 
AnswerRe: Get method name as string Pin
leppie30-Jul-08 0:22
leppie30-Jul-08 0:22 
GeneralRe: Get method name as string Pin
Nicholas Butler30-Jul-08 0:36
sitebuilderNicholas Butler30-Jul-08 0:36 
AnswerRe: Get method name as string Pin
DaveyM6930-Jul-08 1:09
professionalDaveyM6930-Jul-08 1:09 
GeneralRe: Get method name as string Pin
leppie30-Jul-08 2:27
leppie30-Jul-08 2:27 
QuestionControl.Invoke() equivalent with Thread object Pin
ccufi29-Jul-08 23:36
ccufi29-Jul-08 23:36 
AnswerRe: Control.Invoke() equivalent with Thread object Pin
Frank Horn30-Jul-08 0:36
Frank Horn30-Jul-08 0:36 

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.