We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi profesional poeple.
what are all the reasonns why a program can be bugged: ie what can make program go wrong.
i need complete list so plz help now.
thank you profesional person who answer me soon.
No, we are not joking. We are, however, considering you to be part of the entertainment.
I see that you have missed the instructions on how to post source code - and there seems to be something wrong with your code. Try this instead:
#include <stdio.h> int main(void) { printf("Hello world!\n"); return 0; }
mr ameter you are wrong and try to be proffesional but you guess badeley!
i made mistak and put some code in post. it was
#include <stdio.h>
int myfunc(void) { printf("Hello world!\n"); return 0; }
int main(int argc, char **argv) { loop:
if ( argc == 1 ) goto end;
argc = argc - 1;
if ( myfunc() == 0) goto error;
got loop
end: }
"i made mistak"
I trust that one's on your list.
You also made the mistake of not reading and/or not following the clear instructions on how to post source code - there's another.
And you made the further mistake of not previewing your code before you posted it - there's another.
So there you go - 3 more guaranteed fully professional items for your list!
I might have been incorrect when I claimed that you had missed the instructions on how to post code. Maybe ho had seen the instructions, but failed to understand them?
Twice now, you have failed to format the code correctly!
You have also managed to post code that is not possible to compile - what is "got"? Where is the "error" label?
Your original
intf("hello world");
seems to have been affected by my post, since it now prints a true sentence beginning with a capital letter and ending with a punctuation character. Plese try that with your normal sentences too. That would make you seem a lot more mature.
However, no computer-science teacher would give good (or any?) scores for a tiny program that uses multiple goto statements without even an attemt to justify their need...
Two more for your list:
Writing programs in one languages as it it were another (eg, you seem to be trying to write a BASIC program in 'C'...)
Unconsidered, liberal use of 'goto' is usually a whole nest of bugs just waiting to happen...