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

C / C++ / MFC

 
AnswerRe: how to hide a window Pin
tyr20003-May-09 2:00
tyr20003-May-09 2:00 
GeneralRe: how to hide a window Pin
David Crow3-May-09 15:16
David Crow3-May-09 15:16 
GeneralRe: how to hide a window Pin
tyr20004-May-09 4:06
tyr20004-May-09 4:06 
QuestionWriting raw data in byte form to Network Adapter w/ C++ Pin
TheScientistIsDead1-May-09 20:59
TheScientistIsDead1-May-09 20:59 
AnswerRe: Writing raw data in byte form to Network Adapter w/ C++ Pin
Code-o-mat1-May-09 22:50
Code-o-mat1-May-09 22:50 
AnswerRe: Writing raw data in byte form to Network Adapter w/ C++ Pin
Jonathan Davies2-May-09 3:23
Jonathan Davies2-May-09 3:23 
AnswerRe: Writing raw data in byte form to Network Adapter w/ C++ Pin
TheScientistIsDead2-May-09 7:54
TheScientistIsDead2-May-09 7:54 
Questionhelp with implementation of strspn( ) Pin
kaku_lala1-May-09 15:44
kaku_lala1-May-09 15:44 
The definition of library function strspn is:

size_t strspn(const char *str, const char *chars)

/*Return number of leading characters at the beginning of the string str which are all members of string chars.*/


e.g. if ‘str’ is “fecxdy” and ‘chars’ is “abcdef” then the function would return 3, since ‘f’, ’e’ and ‘c’ all appear somewhere in ‘chars’, giving 3 leading characters of ‘str’, and ‘x’ is the first character of ‘str’ which is not a member of ‘chars’.

Could someone help me write an implementation of strspn in ‘C’. The only library function I am allowed to call from the implementation is strlen.
QuestionRe: help with implementation of strspn( ) Pin
David Crow1-May-09 16:11
David Crow1-May-09 16:11 
AnswerRe: help with implementation of strspn( ) Pin
Stuart Dootson1-May-09 16:15
professionalStuart Dootson1-May-09 16:15 
Questionwhat is wrong with this code snippet - memset() implementation Pin
kaku_lala1-May-09 15:42
kaku_lala1-May-09 15:42 
AnswerRe: what is wrong with this code snippet - memset() implementation Pin
Stuart Dootson1-May-09 16:11
professionalStuart Dootson1-May-09 16:11 
AnswerRe: what is wrong with this code snippet - memset() implementation Pin
David Crow1-May-09 16:15
David Crow1-May-09 16:15 
AnswerRe: what is wrong with this code snippet - memset() implementation Pin
Joe Woodbury1-May-09 19:32
professionalJoe Woodbury1-May-09 19:32 
QuestionOperator overloading and chaning streaming operators Pin
squall231-May-09 14:04
squall231-May-09 14:04 
AnswerRe: Operator overloading and chaning streaming operators Pin
Stuart Dootson1-May-09 16:06
professionalStuart Dootson1-May-09 16:06 
GeneralRe: Operator overloading and chaning streaming operators Pin
squall232-May-09 1:41
squall232-May-09 1:41 
QuestionHow do I debug a release build? Pin
bulg1-May-09 10:42
bulg1-May-09 10:42 
AnswerRe: How do I debug a release build? Pin
Rolf Kristensen1-May-09 11:31
Rolf Kristensen1-May-09 11:31 
GeneralRe: How do I debug a release build? Pin
bulg1-May-09 13:51
bulg1-May-09 13:51 
GeneralRe: How do I debug a release build? Pin
Stuart Dootson1-May-09 15:22
professionalStuart Dootson1-May-09 15:22 
QuestionPutting out plain text Pin
BobInNJ1-May-09 8:09
BobInNJ1-May-09 8:09 
QuestionRe: Putting out plain text Pin
David Crow1-May-09 8:19
David Crow1-May-09 8:19 
AnswerRe: Putting out plain text Pin
BobInNJ1-May-09 10:00
BobInNJ1-May-09 10:00 
GeneralRe: Putting out plain text Pin
David Crow1-May-09 10:03
David Crow1-May-09 10: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.