Please keep the attributions for the benefit of others.
-- Wow, way to be a total jerk about it.
Indeed. I've just had an unhappy love affair, so I don't see why anybody
else should have a good time ;-)
It was a simple question,
Hmm, let's see:
"is there another function or way of going about getting input from the
command line besides getch()."
First of all, it makes no sense. There is no command line and no getch()
in standard C. You got two independent answers nevertheless, all in good
intentions.
you chould have decided not to post a response at all (and in this
case it probably would have been better).
As you wish. I will not bother the next time. But you should get used to
some level of sarcasm on this newsgroup, if you want to learn something.
1) I dont have a car to get to the library
A bicycle or even your own feet would do.
2) I dont have money to go throwing around and buying books beyond the
required text books for classes
"Throwing around?" Now this must be the most arrogant response I've seen
in years. Knowledge is money, have you heard that? And knowledge /costs/
money too. If you are not willing to invest in your own education, then
do not be surprised if you don't achieve much later.
3) the text for the class is a book on operating systems -- with
little or no examples of code
Then get a second book. The FAQ has some recommendations. It does not
hurt to have books on several topics.
and for the above reasons, I was looking for an online resource so I
could do that "reading" thing you talked about from home. You know,
here on my computer, they have those things called webpages that often
include helpful information on a wide range of topics.
That's all very nice. Howevere, a book is better on many accounts. First,
it is much more readily available. Second, you could make notes in it.
Then there is the thing about reading in bed - if you have a laptop with
wireless internet connection, then you surely have enough money to afford
a book too. And even a laptop would not be much help for reading on the
bus on the way to work or school.
I write all this with the intention to help you. If you want to take
offence, that is your choice. Message ends.
Peter