Click here to Skip to main content
13,797,648 members

C / C++ / MFC

 
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 
Sorry for the format issue.
These lines just add two pointers / addresses , and it is the addition which is failing when the resulting pointer is set to "1".

The values of individual terms is irrelevant - the function is.
It works fine - produces correct sum of terms / addresses without "volatile" keyword.


Would there be a conflict if the terms are not declared as "volatile" ?
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 
GeneralRe: volatile misbehaves Pin
supercat930-May-18 13:20
membersupercat930-May-18 13:20 
AnswerRe: volatile misbehaves Pin
Joe Woodbury17-May-18 6:48
professionalJoe Woodbury17-May-18 6:48 
GeneralRe: volatile misbehaves Pin
Vaclav_17-May-18 7:04
memberVaclav_17-May-18 7:04 
GeneralRe: volatile misbehaves Pin
Vaclav_17-May-18 8:24
memberVaclav_17-May-18 8:24 
AnswerRe: volatile misbehaves Pin
leon de boer18-May-18 9:16
memberleon de boer18-May-18 9:16 
GeneralRe: volatile misbehaves Pin
Vaclav_19-May-18 15:02
memberVaclav_19-May-18 15:02 
GeneralRe: volatile misbehaves Pin
Vaclav_19-May-18 15:36
memberVaclav_19-May-18 15:36 
GeneralRe: volatile misbehaves Pin
leon de boer20-May-18 5:41
memberleon de boer20-May-18 5:41 
GeneralRe: volatile misbehaves Pin
Vaclav_20-May-18 6:44
memberVaclav_20-May-18 6:44 
GeneralRe: volatile misbehaves Pin
leon de boer20-May-18 21:35
memberleon de boer20-May-18 21:35 
GeneralRe: volatile misbehaves Pin
Vaclav_21-May-18 4:18
memberVaclav_21-May-18 4:18 
GeneralRe: volatile misbehaves Pin
leon de boer21-May-18 5:33
memberleon de boer21-May-18 5:33 
Question__sync_synchronize stops processor ? Pin
Vaclav_16-May-18 11:31
memberVaclav_16-May-18 11:31 
AnswerRe: __sync_synchronize stops processor ? Pin
Randor 16-May-18 13:15
professional Randor 16-May-18 13:15 
GeneralRe: __sync_synchronize stops processor ? Pin
Vaclav_16-May-18 14:15
memberVaclav_16-May-18 14:15 

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
Web04 | 2.8.181207.3 | Last Updated 13 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid