Click here to Skip to main content
14,692,211 members
Home » Discussions » Managed C++/CLI
   

Managed C++/CLI

 
QuestionA brief question Pin
Member 1065708311-Feb-15 23:47
MemberMember 1065708311-Feb-15 23:47 
AnswerRe: A brief question Pin
Richard MacCutchan12-Feb-15 0:05
mveRichard MacCutchan12-Feb-15 0:05 
QuestionMFC Grid Control does not show cells content Pin
georox6-Dec-14 3:30
Membergeorox6-Dec-14 3:30 
AnswerRe: MFC Grid Control does not show cells content Pin
Richard MacCutchan6-Dec-14 4:02
mveRichard MacCutchan6-Dec-14 4:02 
GeneralRe: MFC Grid Control does not show cells content Pin
georox6-Dec-14 5:35
Membergeorox6-Dec-14 5:35 
QuestionCreate InputBox using VS2010 C++? Pin
Member 112303721-Dec-14 4:01
MemberMember 112303721-Dec-14 4:01 
QuestionHow to save "☺" in a file. C/C++ (Windows Functions) Pin
Citrusl2-Nov-14 11:51
MemberCitrusl2-Nov-14 11:51 
AnswerRe: How to save "☺" in a file. C/C++ (Windows Functions) Pin
Frankie-C22-Feb-15 4:24
MemberFrankie-C22-Feb-15 4:24 
First of all if you want handle characters that are out of standard printable set, and could be filtered by text handling, open the file as binary:
FILE *txt = fopen("Experimento.txt", "ab+");

In this case you have to manually handle end of line adding "\r\n" at end of each line isteade of the simple "\n", but you are free to store the whole set untouched.
Anyway even using standard text file opening there could be a couple of issues that you have to deal with. Just to be sure that the correct code has been saved in the output file open it in a binary editor and verify that the code 0x01 has been stored in the file, if it is not there you can try to open the file in binary mode, as reported above, or you can use putc instead of fprintf:
putc(txt,0x01);

But if the file is correct and 0x01 is in but you cannot visualize it the problem is a different one, if you can't show it in a console window or in a text editor the problem is that the ascii code you expect is not in the codepage used on your system. In this case the things get somewhat harder...
QuestionDisplay an image on the button. this image is not from resource but it is a image form a normal file Pin
Member 1118237929-Oct-14 3:34
MemberMember 1118237929-Oct-14 3:34 
AnswerRe: Display an image on the button. this image is not from resource but it is a image form a normal file Pin
Richard MacCutchan29-Oct-14 5:01
mveRichard MacCutchan29-Oct-14 5:01 
QuestionI need some help with c++ Pin
Member 1111856129-Sep-14 9:44
MemberMember 1111856129-Sep-14 9:44 
AnswerRe: I need some help with c++ Pin
Richard MacCutchan29-Sep-14 22:33
mveRichard MacCutchan29-Sep-14 22:33 
QuestionCoding music rhythms Pin
Navid Abyazi24-Sep-14 6:28
professionalNavid Abyazi24-Sep-14 6:28 
AnswerRe: Coding music rhythms Pin
Richard MacCutchan24-Sep-14 6:35
mveRichard MacCutchan24-Sep-14 6:35 
QuestionReverse No program Pin
Member 105011307-Sep-14 21:09
MemberMember 105011307-Sep-14 21:09 
AnswerRe: Reverse No program Pin
Richard MacCutchan7-Sep-14 22:23
mveRichard MacCutchan7-Sep-14 22:23 
QuestionSystem.AccessViolationException - Returning from cpp dll Pin
ToolMaker200716-Aug-14 5:25
MemberToolMaker200716-Aug-14 5:25 
AnswerRe: System.AccessViolationException - Returning from cpp dll Pin
Member 1048772028-Aug-14 22:45
MemberMember 1048772028-Aug-14 22:45 
Questionneed help with creating a clr dll Pin
neodeaths13-Aug-14 22:57
Memberneodeaths13-Aug-14 22:57 
AnswerRe: need help with creating a clr dll Pin
Richard MacCutchan13-Aug-14 23:26
mveRichard MacCutchan13-Aug-14 23:26 
QuestionHow to sound recorder c++ Pin
4manes6-Jul-14 23:58
Member4manes6-Jul-14 23:58 
AnswerRe: How to sound recorder c++ Pin
Richard MacCutchan7-Jul-14 3:46
mveRichard MacCutchan7-Jul-14 3:46 
QuestionDumb question about event arguments Pin
Member 1031630012-Jun-14 21:21
MemberMember 1031630012-Jun-14 21:21 
AnswerRe: Dumb question about event arguments Pin
John Schroedl13-Jun-14 9:05
professionalJohn Schroedl13-Jun-14 9:05 
GeneralRe: Dumb question about event arguments Pin
Member 1031630013-Jun-14 9:50
MemberMember 1031630013-Jun-14 9:50 

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.