Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sort of Serialization Pin
1-Feb-02 14:44
suss1-Feb-02 14:44 
GeneralRe: Sort of Serialization Pin
Matt Gullett1-Feb-02 14:52
Matt Gullett1-Feb-02 14:52 
GeneralCMutex Pin
Cathy1-Feb-02 13:55
Cathy1-Feb-02 13:55 
GeneralRe: CMutex Pin
Rick York1-Feb-02 18:03
mveRick York1-Feb-02 18:03 
GeneralRe: CMutex Pin
Cathy1-Feb-02 20:39
Cathy1-Feb-02 20:39 
GeneralRe: CMutex Pin
Rick York1-Feb-02 21:08
mveRick York1-Feb-02 21:08 
GeneralRe: CMutex Pin
Cathy2-Feb-02 5:13
Cathy2-Feb-02 5:13 
GeneralWTF Pin
Stephen Caldwell1-Feb-02 13:02
Stephen Caldwell1-Feb-02 13:02 
This is one of the strangest things i've seen happen. For some reason my arrays of chars seem to be holding random data that appears out of nowhere time and again..I can't explain it.

for example:
char buff[10];
char obuff[20];

memset(buff, '\0', 10);   //buff = ""
memset(obugg, '\0', 20);  //obuff = ""
mysock.recv(buff, 10);    //buff = "abcdefgabcÌÌx" <--?
memcpy(obuff, buff, 10);  //obuff = "abcdefgabcÌÌx" <--?

What does it all mean?


Stephen Caldwell
Blackfission, CEO
http://blackfission.myip.org:81
GeneralRe: WTF Pin
Swinefeaster1-Feb-02 14:01
Swinefeaster1-Feb-02 14:01 
GeneralRe: WTF Pin
Sprudling1-Feb-02 14:03
Sprudling1-Feb-02 14:03 
GeneralRe: WTF Pin
Stephen Caldwell1-Feb-02 14:27
Stephen Caldwell1-Feb-02 14:27 
GeneralRe: WTF Pin
Tim Smith1-Feb-02 14:32
Tim Smith1-Feb-02 14:32 
GeneralCapturing the contents of another window... Pin
Peter Weyzen1-Feb-02 12:37
Peter Weyzen1-Feb-02 12:37 
GeneralRe: Capturing the contents of another window... Pin
Stephen Caldwell1-Feb-02 13:22
Stephen Caldwell1-Feb-02 13:22 
Generalmany functions to just one Pin
Steve L.1-Feb-02 11:34
Steve L.1-Feb-02 11:34 
GeneralRe: many functions to just one Pin
Ravi Bhavnani1-Feb-02 11:54
professionalRavi Bhavnani1-Feb-02 11:54 
GeneralExtended Stored Procedures Pin
RK_20001-Feb-02 9:27
RK_20001-Feb-02 9:27 
GeneralRe: further to my question Pin
RK_20001-Feb-02 11:44
RK_20001-Feb-02 11:44 
GeneralNew version of CButtonSSL Pin
Derek Lakin1-Feb-02 9:14
Derek Lakin1-Feb-02 9:14 
GeneralFont display problems in NT, 2000 but not in 9x Pin
Jason Hihn1-Feb-02 8:23
Jason Hihn1-Feb-02 8:23 
Generaltwo-dimansional array of strings Pin
hhh1-Feb-02 8:21
hhh1-Feb-02 8:21 
GeneralRe: two-dimansional array of strings Pin
Jason Hihn1-Feb-02 8:54
Jason Hihn1-Feb-02 8:54 
GeneralRe: two-dimansional array of strings Pin
CodeGuy1-Feb-02 9:26
CodeGuy1-Feb-02 9:26 
GeneralSpeedy Net Conection Pin
Nnamdi Onyeyiri1-Feb-02 7:21
Nnamdi Onyeyiri1-Feb-02 7:21 
GeneralRe: Speedy Net Conection Pin
Joaquín M López Muñoz1-Feb-02 7:24
Joaquín M López Muñoz1-Feb-02 7:24 

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.