Click here to Skip to main content
15,914,327 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to write a unicode string to a text file Pin
ChrisLang29-Dec-05 7:27
ChrisLang29-Dec-05 7:27 
AnswerRe: how to write a unicode string to a text file Pin
Nish Nishant29-Dec-05 8:36
sitebuilderNish Nishant29-Dec-05 8:36 
AnswerRe: how to write a unicode string to a text file Pin
Taka Muraoka29-Dec-05 18:04
Taka Muraoka29-Dec-05 18:04 
AnswerRe: how to write a unicode string to a text file Pin
krmed30-Dec-05 3:57
krmed30-Dec-05 3:57 
QuestionDynamic arrays in C Pin
Waldermort29-Dec-05 4:03
Waldermort29-Dec-05 4:03 
AnswerRe: Dynamic arrays in C Pin
Maximilien29-Dec-05 5:55
Maximilien29-Dec-05 5:55 
AnswerRe: Dynamic arrays in C Pin
Identity Undisclosed29-Dec-05 6:07
Identity Undisclosed29-Dec-05 6:07 
GeneralRe: Dynamic arrays in C Pin
Waldermort29-Dec-05 6:29
Waldermort29-Dec-05 6:29 
Thanks for the quick replies.

The memory used while running is no problem, however the size of the exe is.

Creating a pointer for each e.g char *chn; causes the program to crash, as far as I can see it has something to do with determining the string length. This may have something to do with limitations of the SDK I am using.

I think I will try recoding this and using multi dimensional arrays.

My question is, what is the best way to include this much text, while at the same time saving space within the exe?
GeneralRe: Dynamic arrays in C Pin
Identity Undisclosed29-Dec-05 18:28
Identity Undisclosed29-Dec-05 18:28 
AnswerRe: Dynamic arrays in C Pin
Owner drawn29-Dec-05 17:05
Owner drawn29-Dec-05 17:05 
AnswerRe: Dynamic arrays in C Pin
vikas amin29-Dec-05 19:05
vikas amin29-Dec-05 19:05 
AnswerRe: Dynamic arrays in C Pin
Waldermort30-Dec-05 1:48
Waldermort30-Dec-05 1:48 
QuestionShade icon on the view (SDI ) Pin
zhonglin.liang29-Dec-05 3:47
zhonglin.liang29-Dec-05 3:47 
AnswerRe: Shade icon on the view (SDI ) Pin
David Crow29-Dec-05 3:50
David Crow29-Dec-05 3:50 
QuestionThe icon in the view can't be printed in SDI,the text is able to print ? Pin
zhonglin.liang29-Dec-05 3:46
zhonglin.liang29-Dec-05 3:46 
AnswerRe: The icon in the view can't be printed in SDI,the text is able to print ? Pin
David Crow29-Dec-05 3:52
David Crow29-Dec-05 3:52 
QuestionAdvice: Managed C++ or C# Pin
fmmanrique29-Dec-05 3:21
fmmanrique29-Dec-05 3:21 
AnswerRe: Advice: Managed C++ or C# Pin
Chris Losinger29-Dec-05 4:42
professionalChris Losinger29-Dec-05 4:42 
AnswerRe: Advice: Managed C++ or C# Pin
Nemanja Trifunovic29-Dec-05 4:46
Nemanja Trifunovic29-Dec-05 4:46 
AnswerRe: Advice: Managed C++ or C# Pin
Nish Nishant29-Dec-05 8:30
sitebuilderNish Nishant29-Dec-05 8:30 
AnswerRe: Advice: Managed C++ or C# Pin
vikas amin29-Dec-05 18:40
vikas amin29-Dec-05 18:40 
GeneralRe: Advice: Managed C++ or C# Pin
ThatsAlok29-Dec-05 21:13
ThatsAlok29-Dec-05 21:13 
AnswerRe: Advice: Managed C++ or C# Pin
Owner drawn29-Dec-05 18:58
Owner drawn29-Dec-05 18:58 
AnswerRe: Advice: Managed C++ or C# Pin
Joe Woodbury31-Dec-05 7:14
professionalJoe Woodbury31-Dec-05 7:14 
GeneralRe: Advice: Managed C++ or C# Pin
fmmanrique2-Jan-06 10:31
fmmanrique2-Jan-06 10:31 

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.