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

C / C++ / MFC

 
GeneralA weird behavior of a CScrollView Pin
Luis E. Cuadrado16-Jan-03 10:05
Luis E. Cuadrado16-Jan-03 10:05 
GeneralA peculiar scope problem Pin
ns16-Jan-03 9:46
ns16-Jan-03 9:46 
GeneralRe: A peculiar scope problem Pin
Neville Franks16-Jan-03 9:55
Neville Franks16-Jan-03 9:55 
GeneralRe: A peculiar scope problem Pin
ns16-Jan-03 9:57
ns16-Jan-03 9:57 
GeneralRe: A peculiar scope problem Pin
Taka Muraoka16-Jan-03 11:00
Taka Muraoka16-Jan-03 11:00 
GeneralRe: A peculiar scope problem Pin
peterchen16-Jan-03 12:27
peterchen16-Jan-03 12:27 
GeneralRe: A peculiar scope problem Pin
Mike Nordell16-Jan-03 12:46
Mike Nordell16-Jan-03 12:46 
GeneralRe: A peculiar scope problem Pin
Joe Woodbury16-Jan-03 13:22
professionalJoe Woodbury16-Jan-03 13:22 
As I understand it, this was in the proposed revisions, then taken out, then put back in.

If you want the standards behavior you can add extra braces:

{for (int i = 0; i < 10; i++)<br />
{<br />
...<br />
}}


Incidentally, you can turn this enforcement on in VC++.NET.
GeneralRe: A peculiar scope problem Pin
Mike Nordell16-Jan-03 13:30
Mike Nordell16-Jan-03 13:30 
GeneralRe: A peculiar scope problem Pin
Joe Woodbury16-Jan-03 13:49
professionalJoe Woodbury16-Jan-03 13:49 
GeneralRe: A peculiar scope problem Pin
Mike Nordell16-Jan-03 12:23
Mike Nordell16-Jan-03 12:23 
GeneralRe: A peculiar scope problem Pin
peterchen16-Jan-03 12:30
peterchen16-Jan-03 12:30 
GeneralRe: A peculiar scope problem Pin
Mike Nordell16-Jan-03 12:41
Mike Nordell16-Jan-03 12:41 
GeneralRe: A peculiar scope problem Pin
Joe Woodbury16-Jan-03 13:34
professionalJoe Woodbury16-Jan-03 13:34 
GeneralDOXYGEN questions Pin
peterchen16-Jan-03 9:34
peterchen16-Jan-03 9:34 
GeneralRe: DOXYGEN questions Pin
Taka Muraoka16-Jan-03 11:08
Taka Muraoka16-Jan-03 11:08 
GeneralRe: DOXYGEN questions Pin
peterchen16-Jan-03 11:27
peterchen16-Jan-03 11:27 
GeneralRe: DOXYGEN questions Pin
Taka Muraoka16-Jan-03 11:52
Taka Muraoka16-Jan-03 11:52 
GeneralRe: DOXYGEN questions Pin
peterchen16-Jan-03 12:23
peterchen16-Jan-03 12:23 
GeneralRe: DOXYGEN questions Pin
Taka Muraoka16-Jan-03 13:08
Taka Muraoka16-Jan-03 13:08 
GeneralMaking CHTMLEditView work Pin
trimtrom16-Jan-03 9:20
trimtrom16-Jan-03 9:20 
GeneralRe: Making CHTMLEditView work Pin
Neville Franks16-Jan-03 9:50
Neville Franks16-Jan-03 9:50 
GeneralRe: Making CHTMLEditView work Pin
trimtrom18-Jan-03 6:00
trimtrom18-Jan-03 6:00 
QuestionCStringArray - why the hell is that failing? Pin
User 665816-Jan-03 8:48
User 665816-Jan-03 8:48 
AnswerRe: CStringArray - why the hell is that failing? Pin
Gary Kirkham16-Jan-03 9:23
Gary Kirkham16-Jan-03 9: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.