Click here to Skip to main content
15,913,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmdi Pin
4-Jul-02 23:01
suss4-Jul-02 23:01 
Generalresizing a window Pin
slah4-Jul-02 22:50
slah4-Jul-02 22:50 
GeneralRe: resizing a window Pin
Mike Upton5-Jul-02 0:59
Mike Upton5-Jul-02 0:59 
GeneralRe: resizing a window Pin
Iain Clarke, Warrior Programmer5-Jul-02 1:05
Iain Clarke, Warrior Programmer5-Jul-02 1:05 
Generaliterators & vectors & moral Pin
Bernhard4-Jul-02 22:38
Bernhard4-Jul-02 22:38 
GeneralRe: iterators & vectors & moral Pin
jmkhael5-Jul-02 3:53
jmkhael5-Jul-02 3:53 
GeneralRe: iterators & vectors & moral Pin
Christian Graus5-Jul-02 4:33
protectorChristian Graus5-Jul-02 4:33 
GeneralRe: iterators & vectors & moral Pin
Joaquín M López Muñoz5-Jul-02 5:42
Joaquín M López Muñoz5-Jul-02 5:42 
(This is rather academic, but anyway) The expression is not valid, even if you use pointers: pointers are only allowed to point one position past the end of a memory block_
char *p=new char[100];
char *p2=p[100]; // OK
char *p3=p2+1; // undefined result
Of course, the line above will work in any compiler that I know of, but the standard does not guarantee it. As for iterators, the situation is the same.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: iterators & vectors & moral Pin
Joaquín M López Muñoz5-Jul-02 4:34
Joaquín M López Muñoz5-Jul-02 4:34 
GeneralWriting permission bits to Access Database Pin
Hel4-Jul-02 22:25
Hel4-Jul-02 22:25 
GeneralPC Losing Time Pin
LittleYellowBird4-Jul-02 21:30
LittleYellowBird4-Jul-02 21:30 
GeneralRe: PC Losing Time Pin
Olli5-Jul-02 2:02
Olli5-Jul-02 2:02 
GeneralRe: PC Losing Time Pin
LittleYellowBird5-Jul-02 2:20
LittleYellowBird5-Jul-02 2:20 
GeneralRe: PC Losing Time Pin
Olli5-Jul-02 2:44
Olli5-Jul-02 2:44 
GeneralRe: PC Losing Time Pin
LittleYellowBird5-Jul-02 3:16
LittleYellowBird5-Jul-02 3:16 
GeneralRe: PC Losing Time Pin
Rutger Ellen5-Jul-02 3:34
Rutger Ellen5-Jul-02 3:34 
GeneralRe: PC Losing Time Pin
Venet5-Jul-02 4:17
Venet5-Jul-02 4:17 
GeneralRe: PC Losing Time Pin
Roger Wright5-Jul-02 4:38
professionalRoger Wright5-Jul-02 4:38 
QuestionCannot compile .h file? Pin
ivex4-Jul-02 20:56
ivex4-Jul-02 20:56 
AnswerRe: Cannot compile .h file? Pin
Christian Graus4-Jul-02 22:16
protectorChristian Graus4-Jul-02 22:16 
AnswerRe: Cannot compile .h file? Pin
Alexandru Savescu5-Jul-02 2:14
Alexandru Savescu5-Jul-02 2:14 
GeneralRegistering OCXs Pin
Jerome Conus4-Jul-02 20:16
Jerome Conus4-Jul-02 20:16 
GeneralTransparent MFC windows with MSVS 6.0 Pin
4-Jul-02 19:20
suss4-Jul-02 19:20 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
Christian Graus4-Jul-02 19:57
protectorChristian Graus4-Jul-02 19:57 
GeneralRe: Transparent MFC windows with MSVS 6.0 Pin
5-Jul-02 10:19
suss5-Jul-02 10:19 

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.