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

C / C++ / MFC

 
GeneralRe: Strings and strange characters Pin
Joaquín M López Muñoz1-Apr-02 22:44
Joaquín M López Muñoz1-Apr-02 22:44 
GeneralRe: Strings and strange characters Pin
1-Apr-02 23:51
suss1-Apr-02 23:51 
GeneralRe: Strings and strange characters Pin
Michael Dunn2-Apr-02 4:46
sitebuilderMichael Dunn2-Apr-02 4:46 
GeneralStrings and strange characters Pin
1-Apr-02 22:37
suss1-Apr-02 22:37 
GeneralOups sorry, bad post !! Pin
1-Apr-02 22:47
suss1-Apr-02 22:47 
GeneralHey-now to all registry Gurus! Pin
BlackSmith1-Apr-02 22:29
BlackSmith1-Apr-02 22:29 
GeneralRe: Hey-now to all registry Gurus! Pin
Jon Hulatt1-Apr-02 23:35
Jon Hulatt1-Apr-02 23:35 
GeneralMemory management Pin
Dominik Reichl1-Apr-02 22:21
Dominik Reichl1-Apr-02 22:21 
Hi
if i allocate 2 new char arrays like:

char *pChars1 = new char[8];
char *pChars2 = new char[10];

can i be SURE (i.e. nothing other may happen) that when i use pChars1[8] get the first char of the second array (= pChars2[0])?
For example think of a string which is 7 chars long. Then i set pChars1[7] non-NULL. Then a string-read at the start of pChars1 would give the string consisting of the first and the second array?
If this is not possible, is there a compiler-switch to make this work?

Thanks
Dominik

GeneralRe: Memory management Pin
Christian Graus1-Apr-02 22:26
protectorChristian Graus1-Apr-02 22:26 
GeneralRe: Memory management Pin
Jon Hulatt1-Apr-02 23:40
Jon Hulatt1-Apr-02 23:40 
GeneralMultithreading Synchronization Pin
1-Apr-02 21:19
suss1-Apr-02 21:19 
GeneralRe: Multithreading Synchronization Pin
Joaquín M López Muñoz1-Apr-02 21:28
Joaquín M López Muñoz1-Apr-02 21:28 
GeneralRe: Multithreading Synchronization Pin
Jon Hulatt1-Apr-02 23:41
Jon Hulatt1-Apr-02 23:41 
GeneralRe: Multithreading Synchronization Pin
Tim Smith2-Apr-02 2:11
Tim Smith2-Apr-02 2:11 
GeneralRe: Multithreading Synchronization Pin
2-Apr-02 2:22
suss2-Apr-02 2:22 
GeneralRe: Multithreading Synchronization Pin
Tim Smith2-Apr-02 3:27
Tim Smith2-Apr-02 3:27 
GeneralRe: Multithreading Synchronization Pin
Joaquín M López Muñoz3-Apr-02 7:39
Joaquín M López Muñoz3-Apr-02 7:39 
GeneralHotkey into OnKeyDown Pin
1-Apr-02 21:10
suss1-Apr-02 21:10 
GeneralRe: Hotkey into OnKeyDown Pin
1-Apr-02 21:15
suss1-Apr-02 21:15 
GeneralInsert string that containts character ' Pin
Irina Tseitlin1-Apr-02 20:57
Irina Tseitlin1-Apr-02 20:57 
GeneralRe: Insert string that containts character ' Pin
Christian Graus1-Apr-02 21:05
protectorChristian Graus1-Apr-02 21:05 
GeneralRe: Insert string that containts character ' Pin
Jon Hulatt1-Apr-02 23:45
Jon Hulatt1-Apr-02 23:45 
GeneralGreenTea P2P decentralized computing platform Pin
1-Apr-02 20:36
suss1-Apr-02 20:36 
General16Bit -> 8 Bit Warning Loss of Data Pin
MarkPQ1-Apr-02 18:06
MarkPQ1-Apr-02 18:06 
GeneralRe: 16Bit -> 8 Bit Warning Loss of Data Pin
MarkPQ1-Apr-02 18:23
MarkPQ1-Apr-02 18:23 

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.