Click here to Skip to main content
15,902,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to save all frames from a video file as a jpeg image Pin
kk.tvm5-May-06 23:45
kk.tvm5-May-06 23:45 
AnswerRe: how to save all frames from a video file as a jpeg image Pin
Phil C6-May-06 20:24
Phil C6-May-06 20:24 
QuestionOutput of Simple C Program ? Pin
Andy Rama5-May-06 23:05
Andy Rama5-May-06 23:05 
AnswerRe: Output of Simple C Program ? Pin
Nibu babu thomas5-May-06 23:11
Nibu babu thomas5-May-06 23:11 
GeneralRe: Output of Simple C Program ? Pin
Andy Rama5-May-06 23:49
Andy Rama5-May-06 23:49 
AnswerRe: Output of Simple C Program ? Pin
Hamid_RT6-May-06 0:38
Hamid_RT6-May-06 0:38 
GeneralRe: Output of Simple C Program ? Pin
Andy Rama6-May-06 18:26
Andy Rama6-May-06 18:26 
GeneralRe: Output of Simple C Program ? Pin
Phil C6-May-06 20:33
Phil C6-May-06 20:33 
You are breaking the rules. Do not do this.

You say you understand arrays and indexes...then why do you insist on using a[3]?

a[3] is pointing to an area of memory that is being used by another part of the program. It might point to the actual memory being used by int i, it might be pointing to something else. It all depends on how the compiler allocates memory on the stack and in what order you have declared your variables and it's going to change everytime you edit your program.

You are not supposed to be using a[3] so don't use it!

if you create your array:
int a[2];

then you can go use a[0] and a[1], and that's it. Period, exclamation point.



AnswerRe: Output of Simple C Program ? Pin
ludao5186-May-06 1:53
ludao5186-May-06 1:53 
QuestionApplying xslt (to xml) from c++ Pin
mohanrajh5-May-06 21:30
mohanrajh5-May-06 21:30 
AnswerRe: Applying xslt (to xml) from c++ Pin
Stephen Hewitt5-May-06 23:23
Stephen Hewitt5-May-06 23:23 
QuestionHow to use IMpeg2Data & IMpeg2PsiParser Intefaces Pin
Andy Rama5-May-06 21:12
Andy Rama5-May-06 21:12 
AnswerRe: How to use IMpeg2Data & IMpeg2PsiParser Intefaces Pin
Nibu babu thomas5-May-06 21:16
Nibu babu thomas5-May-06 21:16 
AnswerRe: How to use IMpeg2Data & IMpeg2PsiParser Intefaces Pin
Justin Tay5-May-06 21:21
Justin Tay5-May-06 21:21 
GeneralRe: How to use IMpeg2Data & IMpeg2PsiParser Intefaces Pin
Andy Rama5-May-06 21:53
Andy Rama5-May-06 21:53 
QuestionI can run my app, but no one else can ;(... why? Pin
chasetoys5-May-06 18:58
chasetoys5-May-06 18:58 
QuestionRe: I can run my app, but no one else can ;(... why? Pin
Maxwell Chen5-May-06 19:16
Maxwell Chen5-May-06 19:16 
AnswerRe: I can run my app, but no one else can ;(... why? Pin
chasetoys5-May-06 19:44
chasetoys5-May-06 19:44 
AnswerRe: I can run my app, but no one else can ;(... why? Pin
Maxwell Chen5-May-06 19:54
Maxwell Chen5-May-06 19:54 
AnswerRe: I can run my app, but no one else can ;(... why? Pin
Hamid_RT5-May-06 19:30
Hamid_RT5-May-06 19:30 
QuestionVC++ Pin
narkhi5-May-06 18:55
narkhi5-May-06 18:55 
QuestionRe: VC++ Pin
Maxwell Chen5-May-06 19:14
Maxwell Chen5-May-06 19:14 
AnswerRe: VC++ Pin
Hamid_RT5-May-06 19:26
Hamid_RT5-May-06 19:26 
Questionhow can I get the message of WM_LBUTTONUP of the Vertical Scroll Bar Pin
yingkou5-May-06 18:47
yingkou5-May-06 18:47 
AnswerRe: how can I get the message of WM_LBUTTONUP of the Vertical Scroll Bar Pin
Hamid_RT5-May-06 20:23
Hamid_RT5-May-06 20:23 

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.