Click here to Skip to main content
15,887,267 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: System Information Pin
Stephen Hewitt10-Dec-07 12:51
Stephen Hewitt10-Dec-07 12:51 
GeneralRe: System Information Pin
David Crow11-Dec-07 4:21
David Crow11-Dec-07 4:21 
GeneralRe: System Information Pin
jhwurmbach10-Dec-07 4:02
jhwurmbach10-Dec-07 4:02 
GeneralLog Pin
john563210-Dec-07 2:20
john563210-Dec-07 2:20 
GeneralRe: Log Pin
CPallini10-Dec-07 2:32
mveCPallini10-Dec-07 2:32 
AnswerRe: Log Pin
David Crow10-Dec-07 3:42
David Crow10-Dec-07 3:42 
Generalunsigned value Pin
john563210-Dec-07 1:53
john563210-Dec-07 1:53 
GeneralRe: unsigned value Pin
jhwurmbach10-Dec-07 2:02
jhwurmbach10-Dec-07 2:02 
pther wrote:
How can I read a byte in unsigned variable. Because this value may be nagetive.


Sorry, you seem confused: Bytes *ARE* unsigned types. Range 0-255.
0xf6 is 246. It is NOT negative.

int (the signed is the default) can hold all positive values a byte can have.

Are you perchance missing the char-type?

Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: unsigned value Pin
Cedric Moonen10-Dec-07 2:03
Cedric Moonen10-Dec-07 2:03 
GeneralRe: unsigned value Pin
CPallini10-Dec-07 2:10
mveCPallini10-Dec-07 2:10 
Generalstring buffer Pin
George_George10-Dec-07 1:01
George_George10-Dec-07 1:01 
GeneralRe: string buffer Pin
jhwurmbach10-Dec-07 1:58
jhwurmbach10-Dec-07 1:58 
GeneralRe: string buffer Pin
George_George10-Dec-07 2:12
George_George10-Dec-07 2:12 
GeneralRe: string buffer Pin
jhwurmbach10-Dec-07 2:19
jhwurmbach10-Dec-07 2:19 
GeneralRe: string buffer Pin
George_George10-Dec-07 2:50
George_George10-Dec-07 2:50 
GeneralRe: string buffer Pin
jhwurmbach10-Dec-07 2:59
jhwurmbach10-Dec-07 2:59 
GeneralRe: string buffer Pin
George_George10-Dec-07 15:18
George_George10-Dec-07 15:18 
GeneralRe: string buffer Pin
CPallini10-Dec-07 2:19
mveCPallini10-Dec-07 2:19 
GeneralRe: string buffer Pin
George_George10-Dec-07 2:53
George_George10-Dec-07 2:53 
GeneralRe: string buffer Pin
CPallini10-Dec-07 3:15
mveCPallini10-Dec-07 3:15 
GeneralRe: string buffer Pin
jhwurmbach10-Dec-07 3:51
jhwurmbach10-Dec-07 3:51 
GeneralRe: string buffer Pin
CPallini10-Dec-07 4:04
mveCPallini10-Dec-07 4:04 
GeneralRe: string buffer Pin
jhwurmbach10-Dec-07 4:06
jhwurmbach10-Dec-07 4:06 
GeneralRe: string buffer Pin
George_George10-Dec-07 15:27
George_George10-Dec-07 15:27 
GeneralRe: string buffer Pin
CPallini10-Dec-07 21:46
mveCPallini10-Dec-07 21:46 

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.