Gsec said:
I guess, TOPIC HEADER doesn't include you !! Ok, thanks again for the
valuable informations!
Now I prefer to wait more ! ( haha, I didn't mean that I will throw my
PC in MOON and wait for it to
fall on the ground infront of my house, and crash !;-)
You'll find that insulting people who are trying to help you is not a
good way to get them to continue trying to help you.
Your original question is extremely unclear, and your followups did
not clarify it. As stated, there are a number of trivial solutions,
such as:
int main(void) { while (1); }
It's an infinite loop, and if it ever crashes it will be for reasons
having nothing to do with the program itself. There is no better
solution to your problem *as stated*.
I suspect that what you mean by "infinite loop" isn't the same as what
the rest of us mean by it. "while (1);" is an infinite loop. If you
believe it isn't, you're misusing the term, and you need to explain to
us what you actually mean.
Does the body of the "infinite loop" need to do something useful, or
is the goal just to create an "infinite loop"?
Presumably this isn't an end in itself, but a means to some end.
Telling us what you're actually trying to accomplish might help us to
figure out just what your question means.
Or show us some code, or even pseudo-code if necessary, and tell us
how it fails to meet your requirements.
I suspect that your actual problem is either trivial, insoluble in
general, or insoluble without using system-specific extensions. But
I'm only guessing.
You might also want to read
<
http://clc-wiki.net/wiki/Introduction_to_comp.lang.c>.