i cant understand what is wrong with it. When i input the numbers to b calculated .. it doesnt output it in the display function..
can sum1 plz help me
i cant understand what is wrong with it. When i input the numbers to b calculated .. it doesnt output it in the display function..
can sum1 plz help me
Did you write this?
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
yea i wrote it
It looks like a long program with a simple problem. Why don't you isolate the input and output functions you refer to and write a much shorter program to test them?
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
Seems like an ideal time to get familiar with the debugger then.
Such things as
- add breakpoints to stop the code at suspect places (or known good places just before)
- examine variables, or maybe even watch them
- step into / step over code to progress the program flow in a very controlled manner.
When results != expectation, you've found a bug.
Rinse and repeat as necessary.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
i'm kinda new to this.. this is something i have to do for lessons dats y it is soo long
I can't help you,
but want to thank you.
I am learning from you program