A couple more small questions...

This is a discussion on A couple more small questions... within the C Programming forums, part of the General Programming Boards category; ...then I'm done asking for awhile cause I gotta take this all in!
I've read some of this in the ...

A couple more small questions...

...then I'm done asking for awhile cause I gotta take this all in!

I've read some of this in the FAQ, and while I don't understand it all, it is definatly helpful, but I figured a little extra info from you guys doesn't hurt, but if you think I'm being lazy and don't want to awnser.....don't

How to output to printer?

Is there any func to tell me what speed the pc my program is running on is? If there is, I could modify what value I use when using a loop to cause a delay...I read that c has no built in "delay" function...?

And last but certainly not least, something I'm sure I can't find in the FAQ: What file does windows.h correspond to? If I knew, I could copy windows.h and the other one to the directories of my other compiler, and write win32 console programs in it, if I'm not mistaken.

and maybe it's just over my head, but is it just me, or does this part not make sense:
(I included the whole paragraph for context, but pay close attn to sentence 2 and 3.)

"[One might ask why the designers of the printer port designed the port in this manner. Assume you have a printer with no cable attached. An open usually is read as a logic one. Thus, if a logic one on the SELECT_IN, AUTOFEED and STROBE leads meant to take the appropriate action, an unconnected printer would assume it was selected, go into the autofeed mode and assume there was data on the outputs associated with the Data Port. The printer would be going crazy when in fact it wasn't even connected. Thus, the designers used inverted logic. A zero forces the appropriate action.]

When you say it only works in the MS DOS, does that mean it will work in the Win32 console(because I know that seems alot like DOS)? (sorry, I don't have a printer right now, otherwise I would've typed in that code, compiled it, and tested it by trying to print)

Also, to whoever it was who provided me with the link to their tutorial on console programming (sorry, can't think of your name off the top of my head), thanks again, and I'm just about to start reading it, but I'm trying to learn a couple things on the side via this form, and trying to reinforce the basics before I tackle it...