Again, non-sequitur. Weird programs do exist; typically with really good reasons. Badly-behaved programs have no excuse. Those are three different situations; none preclude the existence of the other. |
Exactly and these weird programs (as you call it) could be more portable (code) if the standard accepted it. I'm not arguing just stating valid opposing points.
For every good point there's a valid opposing point. And I'm bringing that out because I think it's only fair, I'm not trying to "argue" with you, so I hope you will understand that. A discussion would be unbiased only when opposing views are also allowed to be expressed.
And yes the opposing point could be a very dumb one, but there is one.
Short version: I don’t care to learn better, therefore my ignorance suffices. |
I did say that I "tried" to find something like _kbhit() but failed at it. Or maybe I could have decided that _kbhit() was a better option?
It works on my compiler that way, hence I posted it, why would I unnecessarily make up stuff like "getch needs to be called twice"? I have seen discussions that _getch() worked this way for Visual C++, maybe it's a bug, I didn't do that research.
I don’t know what hell you are programming under, but I most certainly want input I gave the program to be used. Supplying the entirety of input before a program is even activated is common, normal, and expected. What you are suggesting is that people who expect that are mistaken about the correctness of that behavior. This includes people who designed this behavior, like Ritchie and Knuth |
No it is absolutely necessary for what this function does, which is take input real-time. I don't think it makes sense to expect the user to type input on the loading screen, when he doesn't even know what input to give! That would lead to unwanted behavior and results.
Yeah, because we’re all using MS-DOS 20 years ago. |
Dev-C++ has conio.h which a lot of people use even at their homes. Moreover some people (including me) use Turbo-C++ at shcool (trust me, it's a lot of people), which has <conio.h>
You already know I don’t care to compete with BS for very long. I’ll state my point and then let you write what you want. You already know you’re on my ignore list, so enjoy the little bit of attention your getting while you can. So sad, too, because I thought you had grown up some. I actually liked some of the help you’ve been giving people. |
You might have assumed that I knew that, I didn't. But I did assume that you would know that I thought this was a proper respected discussion, so I have to make sure my assumption was right, so was it?
I thought this discussion was good so far, apparently not for you. I am sure you won't tell me where this went to offend you, so I won't ask you, but I will still mention, so that for whatever miracle you might reply.
I am going to risk being rude now, but you need to calm down. You're a really good person and I know it because I've watched your very old posts and you're somebody I admire.
So understand that whatever I have written against you, was legitimate, for whatever reason you think it's not.
I'm still confused as to why you got offended.