Click here to Skip to main content
15,929,263 members
Home / Discussions / C#
   

C#

 
QuestionNeed c# programmer Pin
AndreasSweden30-Nov-07 10:19
AndreasSweden30-Nov-07 10:19 
AnswerRe: Need c# programmer Pin
Paul Conrad30-Nov-07 10:56
professionalPaul Conrad30-Nov-07 10:56 
QuestionHow can I clear a buffer? Pin
daavena30-Nov-07 9:37
daavena30-Nov-07 9:37 
AnswerRe: How can I clear a buffer? Pin
Dan Neely30-Nov-07 9:45
Dan Neely30-Nov-07 9:45 
GeneralRe: How can I clear a buffer? Pin
daavena30-Nov-07 10:10
daavena30-Nov-07 10:10 
GeneralRe: How can I clear a buffer? Pin
Ian Shlasko30-Nov-07 11:08
Ian Shlasko30-Nov-07 11:08 
GeneralRe: How can I clear a buffer? Pin
daavena1-Dec-07 1:40
daavena1-Dec-07 1:40 
AnswerRe: How can I clear a buffer? Pin
Anthony Mushrow30-Nov-07 10:00
professionalAnthony Mushrow30-Nov-07 10:00 
Like the above post states, they are initialized to zero. There's also not much point in clearing a buffer, you just overwrite it.
But, if you must, just use a for loop:

for(int i=0; i<buff.Length; i++){
  buff[i] = 0;
}




My current favourite word is: PIE!

I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for.
-The Undefeated

AnswerRe: How can I clear a buffer? Pin
ovrgarriga30-Nov-07 10:49
ovrgarriga30-Nov-07 10:49 
GeneralRe: How can I clear a buffer? Pin
daavena30-Nov-07 12:40
daavena30-Nov-07 12:40 
GeneralRe: How can I clear a buffer? Pin
ovrgarriga1-Dec-07 1:16
ovrgarriga1-Dec-07 1:16 
GeneralRe: How can I clear a buffer? Pin
daavena1-Dec-07 1:49
daavena1-Dec-07 1:49 
JokeRe: How can I clear a buffer? Pin
PIEBALDconsult30-Nov-07 13:06
mvePIEBALDconsult30-Nov-07 13:06 
GeneralRe: How can I clear a buffer? Pin
Luc Pattyn30-Nov-07 13:41
sitebuilderLuc Pattyn30-Nov-07 13:41 
GeneralRe: How can I clear a buffer? Pin
PIEBALDconsult1-Dec-07 4:00
mvePIEBALDconsult1-Dec-07 4:00 
AnswerRe: How can I clear a buffer? Pin
Zoltan Balazs1-Dec-07 12:02
Zoltan Balazs1-Dec-07 12:02 
QuestionWhat does this mean? Pin
T4AMD30-Nov-07 8:01
T4AMD30-Nov-07 8:01 
AnswerRe: What does this mean? Pin
Wes Aday30-Nov-07 8:15
professionalWes Aday30-Nov-07 8:15 
AnswerRe: What does this mean? Pin
Paul Conrad30-Nov-07 8:26
professionalPaul Conrad30-Nov-07 8:26 
AnswerRe: What does this mean? Pin
Anthony Mushrow30-Nov-07 8:31
professionalAnthony Mushrow30-Nov-07 8:31 
QuestionWriting a Remote Desktop app Pin
freaknut30-Nov-07 6:41
freaknut30-Nov-07 6:41 
AnswerRe: Writing a Remote Desktop app Pin
mav.northwind30-Nov-07 7:41
mav.northwind30-Nov-07 7:41 
GeneralRe: Writing a Remote Desktop app Pin
Anthony Mushrow30-Nov-07 8:09
professionalAnthony Mushrow30-Nov-07 8:09 
GeneralRe: Writing a Remote Desktop app Pin
Paul Conrad30-Nov-07 8:27
professionalPaul Conrad30-Nov-07 8:27 
GeneralRe: Writing a Remote Desktop app Pin
freaknut30-Nov-07 8:52
freaknut30-Nov-07 8:52 

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.