Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Regarding storing structures in database Pin
Marco Bertschi25-Apr-13 23:16
protectorMarco Bertschi25-Apr-13 23:16 
GeneralRe: Regarding storing structures in database Pin
Jochen Arndt25-Apr-13 23:34
professionalJochen Arndt25-Apr-13 23:34 
GeneralRe: Regarding storing structures in database Pin
Member 789460125-Apr-13 23:41
Member 789460125-Apr-13 23:41 
GeneralRe: Regarding storing structures in database Pin
Jochen Arndt25-Apr-13 23:57
professionalJochen Arndt25-Apr-13 23:57 
AnswerRe: Regarding storing structures in database Pin
jschell26-Apr-13 9:36
jschell26-Apr-13 9:36 
GeneralRe: Regarding storing structures in database Pin
Member 789460129-Apr-13 1:00
Member 789460129-Apr-13 1:00 
GeneralRe: Regarding storing structures in database Pin
Member 78946011-May-13 0:09
Member 78946011-May-13 0:09 
Questionstrcat_memcpy Pin
khushboo gupta25-Apr-13 18:37
khushboo gupta25-Apr-13 18:37 
I need to send the data to the server in a manner like
00 12 34 00 00 54

when I am doing a strcat of 00 to 1243 or strcat of 1234 to 000054 it's not concatenating 00 to string and the result is 1234 only.

I know strcat treats 00 as a terminating null character that's why it is considering 00 as terminator.I have tried with the memcpy also but then in the server side 00 is coming as 3030.

How can I make my program to treat 00 as the part of the array not as the terminating null character or to treat 00 as it is,not the ascii value as 30.
AnswerRe: strcat_memcpy Pin
pasztorpisti25-Apr-13 21:07
pasztorpisti25-Apr-13 21:07 
GeneralRe: strcat_memcpy Pin
Freak3026-Apr-13 2:15
Freak3026-Apr-13 2:15 
GeneralRe: strcat_memcpy Pin
pasztorpisti26-Apr-13 2:20
pasztorpisti26-Apr-13 2:20 
AnswerRe: strcat_memcpy Pin
Richard MacCutchan25-Apr-13 22:17
mveRichard MacCutchan25-Apr-13 22:17 
QuestionDoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Newbie0025-Apr-13 10:26
Newbie0025-Apr-13 10:26 
AnswerRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
jeron125-Apr-13 10:48
jeron125-Apr-13 10:48 
GeneralRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Newbie0025-Apr-13 18:24
Newbie0025-Apr-13 18:24 
AnswerRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Richard MacCutchan25-Apr-13 22:14
mveRichard MacCutchan25-Apr-13 22:14 
GeneralRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Newbie0026-Apr-13 7:02
Newbie0026-Apr-13 7:02 
GeneralRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Richard MacCutchan26-Apr-13 7:23
mveRichard MacCutchan26-Apr-13 7:23 
GeneralRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Newbie0026-Apr-13 8:01
Newbie0026-Apr-13 8:01 
GeneralRe: DoModal in CWnd::PreTranslateMessage( MSG *pMsg ) Pin
Richard MacCutchan26-Apr-13 22:15
mveRichard MacCutchan26-Apr-13 22:15 
QuestionC++ MVC framework for Linux/Motif Pin
Leif Simon Goodwin25-Apr-13 6:35
Leif Simon Goodwin25-Apr-13 6:35 
AnswerRe: C++ MVC framework for Linux/Motif Pin
pasztorpisti25-Apr-13 20:56
pasztorpisti25-Apr-13 20:56 
QuestionCrystal Reports 2011 with C++/MFC Dev Studio 2010 Pin
Member 983646924-Apr-13 18:42
Member 983646924-Apr-13 18:42 
QuestionAudio in DirectShow Pin
Sachin k Rajput 24-Apr-13 17:40
Sachin k Rajput 24-Apr-13 17:40 
AnswerRe: Audio in DirectShow Pin
Vaclav_25-Apr-13 3:03
Vaclav_25-Apr-13 3: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.