Click here to Skip to main content
15,881,710 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# File.Create terminating WimForm app wiith no error thrown ? Pin
BillWoodruff9-Mar-22 9:29
professionalBillWoodruff9-Mar-22 9:29 
GeneralRe: C# File.Create terminating WimForm app wiith no error thrown ? Pin
Randor 9-Mar-22 9:36
professional Randor 9-Mar-22 9:36 
GeneralRe: C# File.Create terminating WimForm app wiith no error thrown ? Pin
BillWoodruff9-Mar-22 22:00
professionalBillWoodruff9-Mar-22 22:00 
GeneralRe: C# File.Create terminating WimForm app wiith no error thrown ? Pin
Randor 9-Mar-22 22:56
professional Randor 9-Mar-22 22:56 
Answersolved thanks to Randor ... but, it's a kinky one ! Pin
BillWoodruff10-Mar-22 3:23
professionalBillWoodruff10-Mar-22 3:23 
PraiseRe: solved thanks to Randor ... but, it's a kinky one ! Pin
Randor 11-Mar-22 12:27
professional Randor 11-Mar-22 12:27 
GeneralRe: solved thanks to Randor ... but, it's a kinky one ! Pin
BillWoodruff11-Mar-22 17:04
professionalBillWoodruff11-Mar-22 17:04 
Questionc# programming Pin
Member 155562105-Mar-22 5:01
Member 155562105-Mar-22 5:01 
Queues: 
A queue is a "first in first out" data structure. Inserting elements is called 'enqueuing'. 
Removing/deleting elements from a queue is called 'dequeueing'. 
If you enqueue (insert) elements   in this order, then when you call dequeue, the 
first element removed is  . The second element would be   and so on. 
Input: 
Each input line will look like one of the following:
E  \n
D\n
where   is a number that will fit inside int  on the server.
Goal: 
Maintain a queue   of elements. Enqueue elements when input starts with "E". Dequeue when 
the input line is "D".
Output:
If the input line said "E  ", then enqueue (insert) the number   into  . No output!
If the input line said "D", then dequeue from   and print the number that was dequeued.
If a dequeue was requested on an empty queue, print "Empty".
Terminate all your output lines with \n .
Implementation Rules:
You must use a struct to maintain your queue. 
Use convenient typedef(s).
Create supporting functions.
Although in practice, you would create separate header file(s), we require you to put everything 
into just one .c file so that our evaluation server can be used.

AnswerRe: c# programming Pin
Dave Kreskowiak5-Mar-22 5:13
mveDave Kreskowiak5-Mar-22 5:13 
AnswerRe: c# programming Pin
OriginalGriff5-Mar-22 5:56
mveOriginalGriff5-Mar-22 5:56 
QuestionCrystalReport Viewer Pin
Luis M. Rojas3-Mar-22 5:39
Luis M. Rojas3-Mar-22 5:39 
AnswerRe: CrystalReport Viewer Pin
Mycroft Holmes3-Mar-22 11:44
professionalMycroft Holmes3-Mar-22 11:44 
QuestionC# List Pin
Member 155527492-Mar-22 1:41
Member 155527492-Mar-22 1:41 
AnswerRe: C# List Pin
Richard Deeming2-Mar-22 2:09
mveRichard Deeming2-Mar-22 2:09 
SuggestionWhy does the music stop ? Pin
Member 155522211-Mar-22 19:46
Member 155522211-Mar-22 19:46 
GeneralRe: Why does the music stop ? Pin
OriginalGriff1-Mar-22 20:01
mveOriginalGriff1-Mar-22 20:01 
GeneralRe: Why does the music stop ? Pin
Pete O'Hanlon1-Mar-22 22:14
mvePete O'Hanlon1-Mar-22 22:14 
QuestionC# Trouble passing a string var : Form1 to Forms and back again Pin
Member 155520191-Mar-22 12:09
Member 155520191-Mar-22 12:09 
AnswerRe: C# Trouble passing a string var : Form1 to Forms and back again Pin
OriginalGriff1-Mar-22 20:00
mveOriginalGriff1-Mar-22 20:00 
QuestionRefer a class in C# but don't recognized Pin
ernteSKY24-Feb-22 14:38
ernteSKY24-Feb-22 14:38 
AnswerRe: Refer a class in C# but don't recognized Pin
OriginalGriff24-Feb-22 19:35
mveOriginalGriff24-Feb-22 19:35 
QuestionConditional Compiler Symbols Pin
Kevin Marois22-Feb-22 11:00
professionalKevin Marois22-Feb-22 11:00 
AnswerRe: Conditional Compiler Symbols Pin
OriginalGriff22-Feb-22 11:14
mveOriginalGriff22-Feb-22 11:14 
GeneralRe: Conditional Compiler Symbols Pin
Kevin Marois22-Feb-22 12:25
professionalKevin Marois22-Feb-22 12:25 
GeneralRe: Conditional Compiler Symbols Pin
trønderen22-Feb-22 15:03
trønderen22-Feb-22 15: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.