Click here to Skip to main content
15,908,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Vaclav_27-Jul-15 5:51
Vaclav_27-Jul-15 5:51 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Jeremy Falcon27-Jul-15 6:01
professionalJeremy Falcon27-Jul-15 6:01 
GeneralRe: Accessing / printing two dimensional array of char using pointers Pin
Richard MacCutchan27-Jul-15 7:20
mveRichard MacCutchan27-Jul-15 7:20 
QuestionAdd button to vertical toolbar embedded in CPagerCtrl embedded in CDockingPane attached to CFrameWndEx Pin
Craig Hewitt24-Jul-15 9:02
professionalCraig Hewitt24-Jul-15 9:02 
QuestionC or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A._Mohamed22-Jul-15 20:16
Abdullah A._Mohamed22-Jul-15 20:16 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini22-Jul-15 20:37
mveCPallini22-Jul-15 20:37 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Richard Deeming23-Jul-15 2:00
mveRichard Deeming23-Jul-15 2:00 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 2:06
mveCPallini23-Jul-15 2:06 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A._Mohamed23-Jul-15 19:19
Abdullah A._Mohamed23-Jul-15 19:19 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 20:45
mveCPallini23-Jul-15 20:45 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin23-Jul-15 14:57
professionalAlbert Holguin23-Jul-15 14:57 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A._Mohamed23-Jul-15 19:28
Abdullah A._Mohamed23-Jul-15 19:28 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin24-Jul-15 4:11
professionalAlbert Holguin24-Jul-15 4:11 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
CPallini23-Jul-15 20:47
mveCPallini23-Jul-15 20:47 
GeneralRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Albert Holguin24-Jul-15 4:10
professionalAlbert Holguin24-Jul-15 4:10 
QuestionC or C++ for customized embedded Linux, which is the best and why? Pin
Abdullah A. Mohamed22-Jul-15 19:28
Abdullah A. Mohamed22-Jul-15 19:28 
AnswerRe: C or C++ for customized embedded Linux, which is the best and why? Pin
Jeremy Falcon27-Jul-15 5:11
professionalJeremy Falcon27-Jul-15 5:11 
QuestionReading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish22-Jul-15 19:08
Kiran Satish22-Jul-15 19:08 
AnswerRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Daniel Pfeffer22-Jul-15 21:38
professionalDaniel Pfeffer22-Jul-15 21:38 
Are you certain that all of your test files have a 256-colour palette? See the BITMAPINFOHEADER structure[^] for details about other possibilities.

Note also that the height, width, and number of planes are encoded in the header. Ensure that these are as expected before decoding!

Lastly, the BITMAPINFOHEADER contains its size in the first element. Use this either as a "sanity check" or instead of sizeof(BITMAPINFOHEADER).
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.

--Winston Churchill

GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish23-Jul-15 6:12
Kiran Satish23-Jul-15 6:12 
GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Daniel Pfeffer23-Jul-15 6:41
professionalDaniel Pfeffer23-Jul-15 6:41 
GeneralRe: Reading uncompressed AVI file frame by frame into raw memory buffer? Pin
Kiran Satish23-Jul-15 14:42
Kiran Satish23-Jul-15 14:42 
AnswerAssigning data to int array using pointers Pin
Vaclav_22-Jul-15 14:13
Vaclav_22-Jul-15 14:13 
GeneralRe: Assigning data to int array using pointers Pin
Richard Andrew x6422-Jul-15 15:30
professionalRichard Andrew x6422-Jul-15 15:30 
GeneralRe: Assigning data to int array using pointers Pin
Vaclav_23-Jul-15 3:45
Vaclav_23-Jul-15 3:45 

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.