Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bind() error Pin
Rickard Andersson2016-Jan-02 22:57
Rickard Andersson2016-Jan-02 22:57 
GeneralRe: bind() error Pin
Joaquín M López Muñoz17-Jan-02 2:04
Joaquín M López Muñoz17-Jan-02 2:04 
QuestionWhy does this crash? Pin
User 665816-Jan-02 10:26
User 665816-Jan-02 10:26 
AnswerRe: Why does this crash? Pin
Michael Dunn16-Jan-02 10:39
sitebuilderMichael Dunn16-Jan-02 10:39 
GeneralRe: Why does this crash? Pin
User 665816-Jan-02 10:53
User 665816-Jan-02 10:53 
GeneralRe: Why does this crash? Pin
Michael Dunn16-Jan-02 11:03
sitebuilderMichael Dunn16-Jan-02 11:03 
GeneralRe: Why does this crash? Pin
User 665816-Jan-02 11:08
User 665816-Jan-02 11:08 
GeneralRe: Why does this crash? Pin
Nish Nishant16-Jan-02 13:15
sitebuilderNish Nishant16-Jan-02 13:15 
if you have a byte array that is zero terminated you call it a null terminated string and you can use stuff like sprintf, strcpy, strcmp etc. on it.

But if you are simply using a sequence of chars with no NULL at the end some of these functions will give you problems.

That's cause these functions all go character by character till they reach a null. I can even imaginre some code like

while(*src && *dest)
{
//do stuff here
}

Got it now?

Nish



Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
GeneralRe: Why does this crash? Pin
Mustafa Demirhan16-Jan-02 13:30
Mustafa Demirhan16-Jan-02 13:30 
GeneralRe: Why does this crash? Pin
User 665817-Jan-02 7:58
User 665817-Jan-02 7:58 
GeneralRe: Why does this crash? Pin
Mustafa Demirhan17-Jan-02 13:44
Mustafa Demirhan17-Jan-02 13:44 
GeneralRe: Why does this crash? Pin
Alvaro Mendez17-Jan-02 9:33
Alvaro Mendez17-Jan-02 9:33 
GeneralRe: Why does this crash? Pin
Mustafa Demirhan17-Jan-02 10:16
Mustafa Demirhan17-Jan-02 10:16 
GeneralMicrosoft Word Documents Pin
Kevnar16-Jan-02 9:59
Kevnar16-Jan-02 9:59 
GeneralRe: Microsoft Word Documents Pin
Anders Molin16-Jan-02 11:15
professionalAnders Molin16-Jan-02 11:15 
QuestionIs there a way to only allow file previewing done in explorer to preview only certain file extensions? Pin
Bart-Man16-Jan-02 9:48
Bart-Man16-Jan-02 9:48 
AnswerRe: Is there a way to only allow file previewing done in explorer to preview only certain file extensions? Pin
Chris Losinger16-Jan-02 10:24
professionalChris Losinger16-Jan-02 10:24 
GeneralRe: Is there a way to only allow file previewing done in explorer to preview only certain file extensions? Pin
Bart-Man16-Jan-02 11:07
Bart-Man16-Jan-02 11:07 
GeneralHelp :) Pin
RobJones16-Jan-02 9:28
RobJones16-Jan-02 9:28 
GeneralRe: Help :) Pin
Joaquín M López Muñoz16-Jan-02 9:41
Joaquín M López Muñoz16-Jan-02 9:41 
GeneralRe: Help :) Pin
RobJones16-Jan-02 9:45
RobJones16-Jan-02 9:45 
GeneralMP3 Player Pin
16-Jan-02 6:24
suss16-Jan-02 6:24 
GeneralRe: MP3 Player Pin
User 665816-Jan-02 6:37
User 665816-Jan-02 6:37 
QuestionWhen must I hide my window??? Pin
Vladimir Georgiev16-Jan-02 6:08
Vladimir Georgiev16-Jan-02 6:08 
AnswerRe: When must I hide my window??? Pin
Ravi Bhavnani16-Jan-02 6:33
professionalRavi Bhavnani16-Jan-02 6:33 

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.