Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant11-Mar-03 9:01
Dave Bryant11-Mar-03 9:01 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.11-Mar-03 9:47
Robert Palma Jr.11-Mar-03 9:47 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant11-Mar-03 9:52
Dave Bryant11-Mar-03 9:52 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.12-Mar-03 6:15
Robert Palma Jr.12-Mar-03 6:15 
GeneralRe: Get User Actions While Background Thread Executes Pin
Dave Bryant12-Mar-03 8:12
Dave Bryant12-Mar-03 8:12 
GeneralRe: Get User Actions While Background Thread Executes Pin
TomKat14-Mar-03 16:12
TomKat14-Mar-03 16:12 
GeneralRe: Get User Actions While Background Thread Executes Pin
Robert Palma Jr.15-Mar-03 5:38
Robert Palma Jr.15-Mar-03 5:38 
Questionconfirmation please: a char is 8 bits??? Pin
Kuniva10-Mar-03 10:54
Kuniva10-Mar-03 10:54 
Ok, it may seem like a stupid question, but i feel like i'm going nutts here.
I bought this book on Java, and i was reading some till i came accross this table with data types and their size in bits. Now, assuming (since Java seems to be derived from C) the main data types are the same as in C, a char would be 8 bits right? 1 byte... It's what i always thought though, cause when i open a file in my HEX editor i get one byte per character in the ASCII table.
But what do i see in my (btw reasonably cheap) book??? A char is 16 bits or 2 bytes in size!!!!!!!????? WTF | :WTF: WTF | :WTF: WTF | :WTF: Eek! | :eek: OMG | :OMG:
Am i going nutts (which is most probable), is this a printing error in my book, or does the fact that it says UNICODE behind the char in my book have something to do with it (which i doubt)..?
WHAT IS THE SIZE OF A CHAR IN C IN BYTES OR BITS??? I seek redemption from this insanity erghh i'll quit now lol

Kuniva
--------------------------------------------

AnswerRe: confirmation please: a char is 8 bits??? Pin
valikac10-Mar-03 11:00
valikac10-Mar-03 11:00 
GeneralRe: confirmation please: a char is 8 bits??? Pin
Kuniva10-Mar-03 11:01
Kuniva10-Mar-03 11:01 
AnswerRe: confirmation please: a char is 8 bits??? Pin
Michael Dunn10-Mar-03 11:02
sitebuilderMichael Dunn10-Mar-03 11:02 
AnswerRe: confirmation please: a char is 8 bits??? Pin
Robert Palma Jr.10-Mar-03 11:36
Robert Palma Jr.10-Mar-03 11:36 
AnswerRe: confirmation please: a char is 8 bits??? Pin
RaajaOfSelf10-Mar-03 17:23
RaajaOfSelf10-Mar-03 17:23 
Questionstd::stack iterator ? Pin
Maximilien10-Mar-03 10:46
Maximilien10-Mar-03 10:46 
AnswerRe: std::stack iterator ? Pin
valikac10-Mar-03 11:02
valikac10-Mar-03 11:02 
AnswerRe: std::stack iterator ? Pin
Taka Muraoka10-Mar-03 16:10
Taka Muraoka10-Mar-03 16:10 
QuestionHow do I modify a BSTR type string? Pin
dazinith10-Mar-03 10:27
dazinith10-Mar-03 10:27 
AnswerRe: How do I modify a BSTR type string? Pin
Brian Shifrin10-Mar-03 12:53
Brian Shifrin10-Mar-03 12:53 
AnswerRe: How do I modify a BSTR type string? Pin
MAAK10-Mar-03 13:39
MAAK10-Mar-03 13:39 
GeneralList View question Pin
will138310-Mar-03 10:21
will138310-Mar-03 10:21 
GeneralRe: List View question Pin
dazinith10-Mar-03 10:35
dazinith10-Mar-03 10:35 
GeneralRe: List View question Pin
will138310-Mar-03 10:38
will138310-Mar-03 10:38 
GeneralRe: List View question Pin
will138310-Mar-03 10:44
will138310-Mar-03 10:44 
GeneralRe: List View question Pin
User 665810-Mar-03 11:08
User 665810-Mar-03 11:08 
GeneralNeed to catch Close message in Formview Pin
tjkrz10-Mar-03 10:01
tjkrz10-Mar-03 10:01 

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.