Click here to Skip to main content
13,795,573 members

C / C++ / MFC

 
GeneralRe: volatile issue - repost Pin
leon de boer22-May-18 19:13
memberleon de boer22-May-18 19:13 
GeneralRe: volatile issue - repost SOLVED Pin
Vaclav_23-May-18 4:17
memberVaclav_23-May-18 4:17 
QuestionRe: volatile issue - repost SOLVED Pin
CPallini23-May-18 4:28
mvpCPallini23-May-18 4:28 
GeneralRe: volatile issue - repost SOLVED Pin
Richard MacCutchan23-May-18 4:32
protectorRichard MacCutchan23-May-18 4:32 
GeneralRe: volatile issue - repost SOLVED Pin
Peter_in_278023-May-18 4:44
professionalPeter_in_278023-May-18 4:44 
GeneralRe: volatile issue - repost SOLVED Pin
leon de boer23-May-18 7:55
memberleon de boer23-May-18 7:55 
GeneralRe: volatile issue - repost SOLVED Pin
Vaclav_24-May-18 6:53
memberVaclav_24-May-18 6:53 
GeneralRe: volatile issue - repost SOLVED Pin
supercat931-May-18 13:48
membersupercat931-May-18 13:48 
leon de boer wrote:
4 bytes each of 8 bits = 4 x 8 = 32 bits .. its unsigned and a type .... so uint32_t Smile | :)
8 bytes of 8 bits = 8 x 8 = 64 bits .... so uint64_t also means 8 bytes.
Unlike int, long etc the sizes in bits and bytes are fixed in stone on every C compiler that meets the standard.


The size of "uint32_t" is fixed at four bytes on compilers which implement uint8_t. A conforming compiler where "char" is 16 bits (e.g. because it targets a platform where memory can only be written in 16-bit chunks) and either "int" or "long" is a 32-bit two's-complement integer without padding bits must, however, define type `uint16_t` with a size of 1 and `uint32_t` with a size of two.
GeneralRe: volatile issue - repost SOLVED Pin
leon de boer4-Jun-18 22:05
memberleon de boer4-Jun-18 22:05 
GeneralRe: volatile issue - repost SOLVED Pin
supercat98-Jun-18 11:31
membersupercat98-Jun-18 11:31 
QuestionReturn a local 2d Array Pin
kinderu18-May-18 9:59
memberkinderu18-May-18 9:59 
AnswerRe: Return a local 2d Array Pin
Richard MacCutchan18-May-18 10:13
protectorRichard MacCutchan18-May-18 10:13 
GeneralRe: Return a local 2d Array Pin
kinderu18-May-18 10:45
memberkinderu18-May-18 10:45 
GeneralRe: Return a local 2d Array Pin
leon de boer18-May-18 17:34
memberleon de boer18-May-18 17:34 
GeneralRe: Return a local 2d Array Pin
Richard MacCutchan18-May-18 21:46
protectorRichard MacCutchan18-May-18 21:46 
AnswerRe: Return a local 2d Array Pin
jfbode102930-May-18 5:46
memberjfbode102930-May-18 5:46 
QuestionCan someone show me an example of including a DLL or function in a C program ? Pin
m3mb3r17-May-18 11:41
memberm3mb3r17-May-18 11:41 
SuggestionRe: Can someone show me an example of including a DLL or function in a C program ? Pin
Randor 17-May-18 12:52
professional Randor 17-May-18 12:52 
AnswerRe: Can someone show me an example of including a DLL or function in a C program ? Pin
Richard MacCutchan17-May-18 22:40
protectorRichard MacCutchan17-May-18 22:40 
AnswerRe: Can someone show me an example of including a DLL or function in a C program ? Pin
leon de boer18-May-18 9:58
memberleon de boer18-May-18 9:58 
Questionvolatile misbehaves Pin
Vaclav_17-May-18 4:19
memberVaclav_17-May-18 4:19 
AnswerRe: volatile misbehaves Pin
Richard MacCutchan17-May-18 5:04
protectorRichard MacCutchan17-May-18 5:04 
GeneralRe: volatile misbehaves Pin
Vaclav_17-May-18 5:26
memberVaclav_17-May-18 5:26 
GeneralRe: volatile misbehaves Pin
Richard MacCutchan17-May-18 5:42
protectorRichard MacCutchan17-May-18 5:42 
GeneralRe: volatile misbehaves Pin
Vaclav_17-May-18 6:39
memberVaclav_17-May-18 6:39 

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.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.181207.3 | Last Updated 11 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid