Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: parameter question Pin
Alex_Y27-Jul-06 11:31
Alex_Y27-Jul-06 11:31 
AnswerRe: parameter question Pin
Christian Graus27-Jul-06 11:16
protectorChristian Graus27-Jul-06 11:16 
GeneralRe: parameter question Pin
Jay0328-Jul-06 5:53
Jay0328-Jul-06 5:53 
GeneralRe: parameter question Pin
Christian Graus28-Jul-06 10:45
protectorChristian Graus28-Jul-06 10:45 
GeneralRe: parameter question Pin
Jay0328-Jul-06 7:07
Jay0328-Jul-06 7:07 
AnswerRe: parameter question Pin
toxcct27-Jul-06 21:34
toxcct27-Jul-06 21:34 
GeneralRe: parameter question Pin
Jay0328-Jul-06 7:00
Jay0328-Jul-06 7:00 
AnswerRe: parameter question Pin
Zac Howland28-Jul-06 9:34
Zac Howland28-Jul-06 9:34 
The function "add" has a second parameter that appears to take bytes as its type (an array of bytes actually). The & operator takes the address of a variable (that is, gives you a pointer to it) and the (char*) casts it to a charater pointer type. What it is doing is passing in the array of bytes for that variable (the size is passed as the third argument) to do something with them directly (e.g. transmit them over the network perhaps?).

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

QuestionHelp::i have made a sudoku solver but it not workin Pin
keshava shukla27-Jul-06 9:00
keshava shukla27-Jul-06 9:00 
AnswerRe: Help::i have made a sudoku solver but it not workin Pin
David Crow27-Jul-06 10:49
David Crow27-Jul-06 10:49 
AnswerRe: Help::i have made a sudoku solver but it not workin Pin
Christian Graus27-Jul-06 11:17
protectorChristian Graus27-Jul-06 11:17 
QuestionC++ question Pin
Alex_Y27-Jul-06 8:56
Alex_Y27-Jul-06 8:56 
AnswerRe: C++ question Pin
valikac27-Jul-06 9:01
valikac27-Jul-06 9:01 
GeneralRe: C++ question Pin
Alex_Y27-Jul-06 9:07
Alex_Y27-Jul-06 9:07 
GeneralRe: C++ question Pin
valikac27-Jul-06 9:20
valikac27-Jul-06 9:20 
GeneralRe: C++ question Pin
Alex_Y27-Jul-06 9:26
Alex_Y27-Jul-06 9:26 
GeneralRe: C++ question Pin
Alex_Y27-Jul-06 9:41
Alex_Y27-Jul-06 9:41 
AnswerRe: C++ question Pin
toxcct27-Jul-06 21:26
toxcct27-Jul-06 21:26 
GeneralRe: C++ question Pin
Alex_Y28-Jul-06 1:57
Alex_Y28-Jul-06 1:57 
GeneralRe: C++ question Pin
Zac Howland28-Jul-06 8:58
Zac Howland28-Jul-06 8:58 
Questionfunction header = 0 Pin
Jay0327-Jul-06 8:38
Jay0327-Jul-06 8:38 
AnswerRe: function header = 0 Pin
valikac27-Jul-06 9:03
valikac27-Jul-06 9:03 
GeneralRe: function header = 0 Pin
Jay0327-Jul-06 9:04
Jay0327-Jul-06 9:04 
GeneralRe: function header = 0 Pin
Alex_Y27-Jul-06 9:15
Alex_Y27-Jul-06 9:15 
AnswerRe: function header = 0 Pin
markkuk27-Jul-06 11:42
markkuk27-Jul-06 11:42 

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.