Click here to Skip to main content
15,907,329 members
Home / Discussions / C#
   

C#

 
QuestionRe: How to install windows service? Pin
Chesnokov Yuriy15-Nov-09 19:23
professionalChesnokov Yuriy15-Nov-09 19:23 
AnswerRe: How to install windows service? Pin
PIEBALDconsult15-Nov-09 5:50
mvePIEBALDconsult15-Nov-09 5:50 
QuestionWeb Services Pin
Brink Fourie15-Nov-09 2:12
Brink Fourie15-Nov-09 2:12 
AnswerRe: Web Services Pin
OriginalGriff15-Nov-09 2:24
mveOriginalGriff15-Nov-09 2:24 
GeneralRe: Web Services Pin
Brink Fourie15-Nov-09 3:31
Brink Fourie15-Nov-09 3:31 
GeneralRe: Web Services Pin
OriginalGriff15-Nov-09 4:42
mveOriginalGriff15-Nov-09 4:42 
GeneralRe: Web Services Pin
Brink Fourie15-Nov-09 5:05
Brink Fourie15-Nov-09 5:05 
GeneralRe: Web Services Pin
OriginalGriff15-Nov-09 5:26
mveOriginalGriff15-Nov-09 5:26 
I'm sorry, I wasn't mocking you. I assumed it was a mistake on your part in the original post and the Blush | :O made a joke of it. Please accept my apologies if I caused any offence. D'Oh! | :doh:

I don't see where a bubble sort would be used here: I suggest you ask your tutor for clarification if you can.

Brink Fourie wrote:
what do you mean "reduce the input by one"?


Because you will be going round a loop checking each time that you haven't got to the end ("while input greater than zero") you need to reduce the loop count (and the number you are adding or multiplying) each time. Otherwise you will never get out of the loop!

"input--" or "input -= 1" or "input = input - 1" all work for me!

My word! it's a lot less typing to implement the program than it is to describe it like this!

You may want to fine tune the logic to give sensible results for negative inputs...

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

"Rumour has it that if you play Microsoft CDs backwards you will hear Satanic messages.Worse still, is that if you play them forwards they will install Windows"

GeneralRe: Web Services Pin
Brink Fourie15-Nov-09 5:36
Brink Fourie15-Nov-09 5:36 
GeneralRe: Web Services Pin
Brink Fourie15-Nov-09 5:36
Brink Fourie15-Nov-09 5:36 
QuestionWindows Form GridView Pin
moody12314-Nov-09 23:09
moody12314-Nov-09 23:09 
AnswerRe: Windows Form GridView Pin
binhvtt14-Nov-09 23:34
binhvtt14-Nov-09 23:34 
GeneralRe: Windows Form GridView Pin
moody12315-Nov-09 0:42
moody12315-Nov-09 0:42 
GeneralRe: Windows Form GridView Pin
binhvtt15-Nov-09 14:54
binhvtt15-Nov-09 14:54 
QuestionDifference B/w 3 types of Lines. Pin
lexical114-Nov-09 21:50
lexical114-Nov-09 21:50 
AnswerRe: Difference B/w 3 types of Lines. Pin
OriginalGriff14-Nov-09 21:56
mveOriginalGriff14-Nov-09 21:56 
GeneralRe: Difference B/w 3 types of Lines. Pin
binhvtt14-Nov-09 23:41
binhvtt14-Nov-09 23:41 
GeneralRe: Difference B/w 3 types of Lines. Pin
lexical115-Nov-09 2:47
lexical115-Nov-09 2:47 
GeneralRe: Difference B/w 3 types of Lines. Pin
binhvtt15-Nov-09 14:59
binhvtt15-Nov-09 14:59 
AnswerRe: don't use CreateGraphics Pin
Luc Pattyn14-Nov-09 23:39
sitebuilderLuc Pattyn14-Nov-09 23:39 
GeneralRe: don't use CreateGraphics Pin
lexical115-Nov-09 2:34
lexical115-Nov-09 2:34 
QuestionRefresh database using c# Pin
tasumisra14-Nov-09 20:02
tasumisra14-Nov-09 20:02 
AnswerRe: Refresh database using c# Pin
Shameel14-Nov-09 22:17
professionalShameel14-Nov-09 22:17 
AnswerRe: Refresh database using c# Pin
Abhishek Sur14-Nov-09 23:34
professionalAbhishek Sur14-Nov-09 23:34 
GeneralRe: Refresh database using c# Pin
binhvtt14-Nov-09 23:44
binhvtt14-Nov-09 23:44 

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.