|
From: Carlos d. M. <cg...@wo...> - 2002-08-08 11:30:10
|
The two bad comments were not in the original, I added them in the message. The // was an explanation for you about where the fail was, and since I write almost everything in C++ now I use //always. If so the compiler would have say errors errors errors!!! and bad comment. The other that interrupts is either added in the message (sorry, I had to be more carefully, although being in a message, it was for be compiled, so I had to notice they would give you errors if you try). Yeah! Those damned \n. I forgot that this experiment was the last before abandoning that custom of \n in scanfs (it was my second experiment while learning programming) and that I deleted the correction and left the original with \n (I did not reached to try the correction which works fine). And so I was not observant of that error, when I saw a \n I thought "printf"... and went on. Without it it works fine. All the other strange behavior (or possible strange, of course) are corrected and I don't have any of them at hand. |