Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: warning C4018: '<' : signed/unsigned mismatch Pin
Rage19-Jan-06 23:33
professionalRage19-Jan-06 23:33 
GeneralRe: warning C4018: '&lt;' : signed/unsigned mismatch Pin
toxcct19-Jan-06 23:38
toxcct19-Jan-06 23:38 
GeneralRe: warning C4018: '&lt;' : signed/unsigned mismatch Pin
Rage20-Jan-06 1:45
professionalRage20-Jan-06 1:45 
GeneralRe: warning C4018: '&lt;' : signed/unsigned mismatch Pin
toxcct20-Jan-06 1:53
toxcct20-Jan-06 1:53 
GeneralRe: warning C4018: '<' : signed/unsigned mismatch Pin
kakan19-Jan-06 23:43
professionalkakan19-Jan-06 23:43 
GeneralRe: warning C4018: '<' : signed/unsigned mismatch Pin
Blake Miller20-Jan-06 4:20
Blake Miller20-Jan-06 4:20 
GeneralRe: warning C4018: '<' : signed/unsigned mismatch Pin
kakan22-Jan-06 19:29
professionalkakan22-Jan-06 19:29 
AnswerRe: warning C4018: '<' : signed/unsigned mismatch Pin
Michael Dunn19-Jan-06 22:58
sitebuilderMichael Dunn19-Jan-06 22:58 
The problem is that the range of int and unsigned int do not overlap. So to compare those two types, an implicit type conversion happens. By the language rules, the int gets promoted to an unsigned int, which means that -1 suddenly becomes 0xFFFFFFFF.

--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
GeneralRe: warning C4018: '<' : signed/unsigned mismatch Pin
David Crow20-Jan-06 3:21
David Crow20-Jan-06 3:21 
GeneralRe: warning C4018: '<' : signed/unsigned mismatch Pin
Michael Dunn20-Jan-06 6:48
sitebuilderMichael Dunn20-Jan-06 6:48 
QuestionHow to localize open dialog box? Pin
jahfer19-Jan-06 18:48
jahfer19-Jan-06 18:48 
AnswerRe: How to localize open dialog box? Pin
Rage19-Jan-06 21:52
professionalRage19-Jan-06 21:52 
AnswerRe: How to localize open dialog box? Pin
Aamir Butt19-Jan-06 23:40
Aamir Butt19-Jan-06 23:40 
AnswerRe: How to localize open dialog box? Pin
jahfer21-Jan-06 0:19
jahfer21-Jan-06 0:19 
QuestionAdd a User Control to a TreeView Pin
tyours bobby19-Jan-06 18:03
tyours bobby19-Jan-06 18:03 
AnswerRe: Add a User Control to a TreeView (Meow, meow...) Pin
Owner drawn19-Jan-06 18:07
Owner drawn19-Jan-06 18:07 
AnswerRe: Add a User Control to a TreeView Pin
Rage19-Jan-06 21:53
professionalRage19-Jan-06 21:53 
QuestionSteps in including lib file and dll built in unicode Pin
waxie19-Jan-06 17:57
waxie19-Jan-06 17:57 
AnswerRe: Steps in including lib file and dll built in unicode Pin
Owner drawn19-Jan-06 18:10
Owner drawn19-Jan-06 18:10 
GeneralRe: Steps in including lib file and dll built in unicode Pin
waxie19-Jan-06 18:16
waxie19-Jan-06 18:16 
GeneralRe: Steps in including lib file and dll built in unicode Pin
Owner drawn19-Jan-06 18:18
Owner drawn19-Jan-06 18:18 
AnswerRe: Steps in including lib file and dll built in unicode Pin
Aamir Butt19-Jan-06 23:36
Aamir Butt19-Jan-06 23:36 
QuestionHow to Create CSV file from MS Office files and vis-a-versa? Pin
Amarelia19-Jan-06 17:55
Amarelia19-Jan-06 17:55 
AnswerRe: How to Create CSV file from MS Office files and vis-a-versa? Pin
S Douglas19-Jan-06 21:23
professionalS Douglas19-Jan-06 21:23 
GeneralRe: How to Create CSV file from MS Office files and vis-a-versa? Pin
David Crow20-Jan-06 3:14
David Crow20-Jan-06 3:14 

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.