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

C#

 
QuestionRegistry Permission Issues Pin
cc034926-Jan-10 8:55
cc034926-Jan-10 8:55 
AnswerRe: Registry Permission Issues Pin
DaveyM6926-Jan-10 9:34
professionalDaveyM6926-Jan-10 9:34 
GeneralRe: Registry Permission Issues Pin
cc034926-Jan-10 9:44
cc034926-Jan-10 9:44 
GeneralRe: Registry Permission Issues Pin
Dave Kreskowiak26-Jan-10 10:49
mveDave Kreskowiak26-Jan-10 10:49 
AnswerRe: Registry Permission Issues Pin
Ennis Ray Lynch, Jr.26-Jan-10 10:25
Ennis Ray Lynch, Jr.26-Jan-10 10:25 
QuestionBeginner C# homework project - stuck Pin
tinnpot26-Jan-10 8:06
tinnpot26-Jan-10 8:06 
AnswerRe: Beginner C# homework project - stuck Pin
harold aptroot26-Jan-10 8:17
harold aptroot26-Jan-10 8:17 
AnswerRe: Beginner C# homework project - stuck Pin
OriginalGriff26-Jan-10 8:20
mveOriginalGriff26-Jan-10 8:20 
Ok, there are a couple of problems here!
1) DON'T USE GOTO! Replace that with a "while" loop, and use a bool to control continue around / exit (there are other ways, but that is simple to do and understand). Never use GOTO until you are experienced enough to know when you should!
2) You have declared "size" as an array of strings - you cannot then use it as an array of floats. That is like making space on a bookshelf then trying to store car engines - it doesn't work. Create a new array of floats, or use an if...else if...else instead.

There are other (future) problems, such as what happens if the user enters a pizza type of -1, or 6 - but they can wait until the main logic is sorted.

All those who believe in psycho kinesis, raise my hand.

My Badger | [badger,badger,badger,badger...] 's gonna unleash hell on your ass. Badger | [badger,badger,badger,badger...] tastic!

GeneralRe: Beginner C# homework project - stuck Pin
tinnpot26-Jan-10 10:12
tinnpot26-Jan-10 10:12 
GeneralRe: Beginner C# homework project - stuck Pin
Ennis Ray Lynch, Jr.26-Jan-10 10:29
Ennis Ray Lynch, Jr.26-Jan-10 10:29 
GeneralRe: Beginner C# homework project - stuck Pin
Luc Pattyn26-Jan-10 13:51
sitebuilderLuc Pattyn26-Jan-10 13:51 
QuestionHow to display image in crystal report? Pin
mahdi136726-Jan-10 7:27
mahdi136726-Jan-10 7:27 
QuestionTroubles with a DPI Aware application Pin
Antonino Porcino26-Jan-10 6:50
Antonino Porcino26-Jan-10 6:50 
AnswerRe: Troubles with a DPI Aware application Pin
Ciumac Sergiu26-Jan-10 7:10
Ciumac Sergiu26-Jan-10 7:10 
QuestionBIZTALK questions: do not import duplicate data coming from csv file to sql server table Pin
challa_praveena26-Jan-10 6:46
challa_praveena26-Jan-10 6:46 
AnswerRe: BIZTALK questions: do not import duplicate data coming from csv file to sql server table Pin
PIEBALDconsult26-Jan-10 7:11
mvePIEBALDconsult26-Jan-10 7:11 
Questionsending output to a multiline text box. Pin
CodeRed300026-Jan-10 5:11
CodeRed300026-Jan-10 5:11 
AnswerRe: sending output to a multiline text box. Pin
Rob Philpott26-Jan-10 5:20
Rob Philpott26-Jan-10 5:20 
AnswerRe: sending output to a multiline text box. Pin
OriginalGriff26-Jan-10 5:26
mveOriginalGriff26-Jan-10 5:26 
AnswerRe: sending output to a multiline text box. Pin
Luc Pattyn26-Jan-10 6:15
sitebuilderLuc Pattyn26-Jan-10 6:15 
Questionvery fast image conversion from jpg to bmp in c# Pin
Mohammad Mahdipour26-Jan-10 3:32
Mohammad Mahdipour26-Jan-10 3:32 
AnswerRe: very fast image conversion from jpg to bmp in c# Pin
Natza Mitzi26-Jan-10 3:46
Natza Mitzi26-Jan-10 3:46 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
harold aptroot26-Jan-10 3:50
harold aptroot26-Jan-10 3:50 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
Natza Mitzi26-Jan-10 4:58
Natza Mitzi26-Jan-10 4:58 
GeneralRe: very fast image conversion from jpg to bmp in c# Pin
harold aptroot26-Jan-10 5:30
harold aptroot26-Jan-10 5:30 

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.