Click here to Skip to main content
16,014,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CSleeperThread Pin
Clem8628-Mar-08 2:45
Clem8628-Mar-08 2:45 
QuestionCan My Window Receive Messages Pin
bitpusher18-Jan-04 9:40
bitpusher18-Jan-04 9:40 
Generalstructs Pin
[Anders]18-Jan-04 8:53
[Anders]18-Jan-04 8:53 
GeneralRe: structs Pin
markkuk18-Jan-04 10:18
markkuk18-Jan-04 10:18 
GeneralRe: structs Pin
[Anders]18-Jan-04 11:23
[Anders]18-Jan-04 11:23 
GeneralRe: structs Pin
Ian Darling18-Jan-04 11:30
Ian Darling18-Jan-04 11:30 
GeneralMessage Closed Pin
18-Jan-04 11:37
[Anders]18-Jan-04 11:37 
GeneralRe: structs Pin
Ian Darling18-Jan-04 12:43
Ian Darling18-Jan-04 12:43 
[Anders] wrote:
yeah but I tought there was some fancy way of doing it with a ptr like this char* text=pS+(sizeof(char*)*i);

No, because all you're doing is adding sizeof(char) * i to the pointer value of pS, which would be a really messed up way of accessing an array of your MYS struct. If you really want to do stuff like that, you have to learn exactly what + does in the context of a pointer.

--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
GeneralRe: structs Pin
Jörgen Sigvardsson18-Jan-04 11:20
Jörgen Sigvardsson18-Jan-04 11:20 
GeneralRe: structs Pin
[Anders]18-Jan-04 12:37
[Anders]18-Jan-04 12:37 
GeneralRe: structs Pin
Rickard Andersson2018-Jan-04 12:18
Rickard Andersson2018-Jan-04 12:18 
GeneralRe: structs Pin
David Crow19-Jan-04 3:01
David Crow19-Jan-04 3:01 
GeneralMaths libraries Pin
Alexander M.,18-Jan-04 8:28
Alexander M.,18-Jan-04 8:28 
GeneralVC++ / ODBC / CSV files : how to perform UDDATE and DELETE statements Pin
Qadddd18-Jan-04 6:43
Qadddd18-Jan-04 6:43 
GeneralRe: VC++ / ODBC / CSV files : how to perform UDDATE and DELETE statements Pin
David Crow19-Jan-04 3:04
David Crow19-Jan-04 3:04 
GeneralRe: VC++ / ODBC / CSV files : how to perform UDDATE and DELETE statements Pin
Qadddd19-Jan-04 3:37
Qadddd19-Jan-04 3:37 
GeneralRe: VC++ / ODBC / CSV files : how to perform UDDATE and DELETE statements Pin
David Crow19-Jan-04 4:26
David Crow19-Jan-04 4:26 
GeneralA Fix for CHtmlView's flicker problem in VC7 Pin
John C. Davies18-Jan-04 6:17
John C. Davies18-Jan-04 6:17 
QuestionWhere to get the sound card drivers for Windows 2000 ? Pin
zhaopzhi18-Jan-04 1:57
zhaopzhi18-Jan-04 1:57 
AnswerRe: Where to get the sound card drivers for Windows 2000 ? Pin
Prakash Nadar18-Jan-04 3:52
Prakash Nadar18-Jan-04 3:52 
AnswerRe: Where to get the sound card drivers for Windows 2000 ? Pin
Alexander M.,18-Jan-04 8:24
Alexander M.,18-Jan-04 8:24 
Questionwhat does "subclassing window" mean? Pin
lobanovski18-Jan-04 1:49
lobanovski18-Jan-04 1:49 
AnswerRe: what does "subclassing window" mean? Pin
Mike Dimmick18-Jan-04 2:17
Mike Dimmick18-Jan-04 2:17 
GeneralVisual C++ and XML Pin
Deian17-Jan-04 23:56
Deian17-Jan-04 23:56 
GeneralRe: Visual C++ and XML Pin
User 665818-Jan-04 2:29
User 665818-Jan-04 2:29 

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.