Click here to Skip to main content
15,886,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: WIC/C++: People Tagging: Unable to set the People Tagging metadata Pin
enhzflep29-Oct-12 15:27
enhzflep29-Oct-12 15:27 
GeneralRe: WIC/C++: People Tagging: Unable to set the People Tagging metadata Pin
Morpheus2matrix29-Oct-12 22:06
Morpheus2matrix29-Oct-12 22:06 
GeneralRe: WIC/C++: People Tagging: Unable to set the People Tagging metadata Pin
enhzflep30-Oct-12 9:16
enhzflep30-Oct-12 9:16 
GeneralRe: WIC/C++: People Tagging: Unable to set the People Tagging metadata Pin
Morpheus2matrix30-Oct-12 21:56
Morpheus2matrix30-Oct-12 21:56 
Questionfputc() writes an extra character Pin
Member 923664029-Oct-12 5:25
Member 923664029-Oct-12 5:25 
AnswerRe: fputc() writes an extra character Pin
Member 923664029-Oct-12 6:01
Member 923664029-Oct-12 6:01 
GeneralRe: fputc() writes an extra character Pin
Member 923664029-Oct-12 6:12
Member 923664029-Oct-12 6:12 
GeneralRe: fputc() writes an extra character Pin
Chris Meech29-Oct-12 6:29
Chris Meech29-Oct-12 6:29 
As a guess, this is probably happening on Windows, correct?. Smile | :)

The character '0x0A' is a linefeed character and in text mode it is being replaced with a two character sequence of '0x0A,0x0D'. These two characters are a linefeed character('0x0A') and a carriage return character('0x0D'). Both of these together are take as an end of line terminator in text files in Windows. As you have found, if you open the file in binary mode then this this substitution will not take place. Smile | :)
Chris Meech
I am Canadian. [heard in a local bar]

In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

AnswerRe: fputc() writes an extra character Pin
Richard MacCutchan29-Oct-12 6:50
mveRichard MacCutchan29-Oct-12 6:50 
QuestionApplication error 0xc0150002 when run MFC in Window 7 Pin
Andraw11129-Oct-12 4:32
Andraw11129-Oct-12 4:32 
AnswerRe: Application error 0xc0150002 when run MFC in Window 7 Pin
Chris Meech29-Oct-12 6:40
Chris Meech29-Oct-12 6:40 
GeneralRe: Application error 0xc0150002 when run MFC in Window 7 Pin
Andraw11129-Oct-12 6:46
Andraw11129-Oct-12 6:46 
GeneralRe: Application error 0xc0150002 when run MFC in Window 7 Pin
Chris Meech29-Oct-12 6:53
Chris Meech29-Oct-12 6:53 
GeneralRe: Application error 0xc0150002 when run MFC in Window 7 Pin
Rolf Kristensen29-Oct-12 9:12
Rolf Kristensen29-Oct-12 9:12 
GeneralRe: Application error 0xc0150002 when run MFC in Window 7 Pin
Andraw11129-Oct-12 11:32
Andraw11129-Oct-12 11:32 
Questionmicrosoft apifor upnp Pin
Saed Leghaee28-Oct-12 8:49
Saed Leghaee28-Oct-12 8:49 
AnswerRe: microsoft apifor upnp Pin
«_Superman_»28-Oct-12 19:47
professional«_Superman_»28-Oct-12 19:47 
GeneralRe: microsoft api for upnp Pin
Saed Leghaee29-Oct-12 8:28
Saed Leghaee29-Oct-12 8:28 
GeneralRe: microsoft api for upnp Pin
enhzflep29-Oct-12 15:37
enhzflep29-Oct-12 15:37 
GeneralRe: microsoft api for upnp Pin
Saed Leghaee3-Dec-12 8:15
Saed Leghaee3-Dec-12 8:15 
QuestionGetting error while sending data from client to Server in Socket using TCP/IP Pin
shanmugarajaa26-Oct-12 21:43
shanmugarajaa26-Oct-12 21:43 
AnswerRe: Getting error while sending data from client to Server in Socket using TCP/IP Pin
Richard MacCutchan26-Oct-12 22:19
mveRichard MacCutchan26-Oct-12 22:19 
GeneralRe: Getting error while sending data from client to Server in Socket using TCP/IP Pin
shanmugarajaa26-Oct-12 22:42
shanmugarajaa26-Oct-12 22:42 
GeneralRe: Getting error while sending data from client to Server in Socket using TCP/IP Pin
Richard MacCutchan26-Oct-12 23:08
mveRichard MacCutchan26-Oct-12 23:08 
QuestionCHtmlView Pin
john563226-Oct-12 20:54
john563226-Oct-12 20:54 

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.