Click here to Skip to main content
15,897,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWho can i Know that my Application Supports Doc/View Architecture? Pin
CodeVarma6-Apr-06 9:10
CodeVarma6-Apr-06 9:10 
AnswerRe: Who can i Know that my Application Supports Doc/View Architecture? Pin
Maximilien6-Apr-06 9:16
Maximilien6-Apr-06 9:16 
QuestionQuestion about typecast Pin
Netvisdom6-Apr-06 8:32
Netvisdom6-Apr-06 8:32 
AnswerRe: Question about typecast Pin
David Crow6-Apr-06 8:38
David Crow6-Apr-06 8:38 
GeneralRe: Question about typecast Pin
Netvisdom6-Apr-06 9:05
Netvisdom6-Apr-06 9:05 
QuestionRe: Question about typecast Pin
David Crow6-Apr-06 9:09
David Crow6-Apr-06 9:09 
AnswerRe: Question about typecast Pin
Richard Andrew x646-Apr-06 10:02
professionalRichard Andrew x646-Apr-06 10:02 
GeneralRe: Question about typecast Pin
David Crow6-Apr-06 10:36
David Crow6-Apr-06 10:36 
Troposphere wrote:
...but if the int held the value 356, would the char take on the value 128 since 128 is the highest number a char can hold?


No, it would "wrap" all the way back around to (positive) 100. The leftmost 16 bits would go away. A better example would be if the int value was something like 200. The resulting char value would be -56. The leftmost 16 bits still go away, but now the sign bit is 1, indicating a negative.


"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"There is no death, only a change of worlds." - Native American Proverb


Questionserial port communication in embedded visual c++ Pin
neha_vi216-Apr-06 8:30
neha_vi216-Apr-06 8:30 
QuestionNewbie question Pin
cdengler6-Apr-06 8:24
cdengler6-Apr-06 8:24 
AnswerRe: Newbie question Pin
David Crow6-Apr-06 10:42
David Crow6-Apr-06 10:42 
GeneralRe: Newbie question Pin
Richard Andrew x646-Apr-06 11:45
professionalRichard Andrew x646-Apr-06 11:45 
QuestionToolbar border in dialog question Pin
Cpt Rick6-Apr-06 8:24
Cpt Rick6-Apr-06 8:24 
QuestionCTooltipCtrl for a modeless dialog in a DLL Pin
madmax00016-Apr-06 7:49
madmax00016-Apr-06 7:49 
QuestionInteresting Windows Architecture Questions Pin
Richard Andrew x646-Apr-06 7:47
professionalRichard Andrew x646-Apr-06 7:47 
QuestionPropertyPage Help Pin
NYTSX6-Apr-06 7:28
NYTSX6-Apr-06 7:28 
QuestionRe: PropertyPage Help Pin
David Crow6-Apr-06 7:42
David Crow6-Apr-06 7:42 
AnswerRe: PropertyPage Help Pin
NYTSX6-Apr-06 7:55
NYTSX6-Apr-06 7:55 
GeneralRe: PropertyPage Help Pin
David Crow6-Apr-06 8:17
David Crow6-Apr-06 8:17 
GeneralRe: PropertyPage Help Pin
NYTSX6-Apr-06 8:27
NYTSX6-Apr-06 8:27 
GeneralRe: PropertyPage Help Pin
David Crow6-Apr-06 8:35
David Crow6-Apr-06 8:35 
GeneralRe: PropertyPage Help Pin
NYTSX6-Apr-06 9:41
NYTSX6-Apr-06 9:41 
GeneralRe: PropertyPage Help Pin
David Crow6-Apr-06 10:38
David Crow6-Apr-06 10:38 
Questionlord of the sockets please help Pin
nahitan6-Apr-06 7:26
nahitan6-Apr-06 7:26 
AnswerRe: lord of the sockets please help Pin
Richard Andrew x646-Apr-06 8:00
professionalRichard Andrew x646-Apr-06 8:00 

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.