Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
QuestionC# add usb device to appxmanifest capabilities for Bosch BNO055 Pin
RAFish040415-Aug-18 8:48
RAFish040415-Aug-18 8:48 
AnswerRe: C# add usb device to appxmanifest capabilities for Bosch BNO055 Pin
Richard Andrew x6415-Aug-18 12:37
professionalRichard Andrew x6415-Aug-18 12:37 
GeneralRe: C# add usb device to appxmanifest capabilities for Bosch BNO055 Pin
RAFish040415-Aug-18 13:41
RAFish040415-Aug-18 13:41 
QuestionWhich language and IDE would require less coding for my test program? Pin
Member 1297423513-Aug-18 15:24
Member 1297423513-Aug-18 15:24 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
OriginalGriff13-Aug-18 19:49
mveOriginalGriff13-Aug-18 19:49 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
Richard MacCutchan13-Aug-18 21:31
mveRichard MacCutchan13-Aug-18 21:31 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
Eddy Vluggen14-Aug-18 0:51
professionalEddy Vluggen14-Aug-18 0:51 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Mycroft Holmes14-Aug-18 1:30
professionalMycroft Holmes14-Aug-18 1:30 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Eddy Vluggen14-Aug-18 2:25
professionalEddy Vluggen14-Aug-18 2:25 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Dave Kreskowiak14-Aug-18 3:30
mveDave Kreskowiak14-Aug-18 3:30 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
OriginalGriff14-Aug-18 3:54
mveOriginalGriff14-Aug-18 3:54 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Richard MacCutchan14-Aug-18 5:49
mveRichard MacCutchan14-Aug-18 5:49 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Eddy Vluggen14-Aug-18 6:14
professionalEddy Vluggen14-Aug-18 6:14 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
Member 1297423514-Aug-18 4:40
Member 1297423514-Aug-18 4:40 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
OriginalGriff14-Aug-18 5:18
mveOriginalGriff14-Aug-18 5:18 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
BillWoodruff14-Aug-18 17:34
professionalBillWoodruff14-Aug-18 17:34 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
AnotherKen18-Aug-18 8:44
professionalAnotherKen18-Aug-18 8:44 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
jschell19-Aug-18 7:33
jschell19-Aug-18 7:33 
QuestionProgram Help Pin
Bloodyway11-Aug-18 6:06
Bloodyway11-Aug-18 6:06 
AnswerRe: Program Help Pin
Luc Pattyn11-Aug-18 6:32
sitebuilderLuc Pattyn11-Aug-18 6:32 
And how would that cause a problem? Most programs accept an undefined number of inputsL a Word document can hold any number of pages, this forum can hold any number of posts, etc.

You have to create a loop to accept and process some input, and a convention as to how you signify the end of the input. In this case (console app not having menus and mouse input) you could use a convention such as "multiplicity zero signals the end" and hence causes the loop to be exited.

If you need all the data before you can start your calculations, then you also need an "elastic" data structure to hold the inputs (a List could do). Are you sure a simple average can only be calculated once all the data is available? look at your formula...

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Program Help Pin
Bloodyway11-Aug-18 19:45
Bloodyway11-Aug-18 19:45 
AnswerRe: Program Help Pin
OriginalGriff11-Aug-18 19:31
mveOriginalGriff11-Aug-18 19:31 
GeneralRe: Program Help Pin
Bloodyway11-Aug-18 19:47
Bloodyway11-Aug-18 19:47 
GeneralRe: Program Help Pin
OriginalGriff11-Aug-18 20:08
mveOriginalGriff11-Aug-18 20:08 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 9:04
professionalAnotherKen18-Aug-18 9:04 

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.