miller@FS1.cam.nist.gov (Bruce R. Miller) (05/31/91)
Obligatory "Sorry if this has been beat to death..." Can anyone recommend good intermediate or advanced books on C++, or perhaps a more complete `spec' kind of book. I dont need any explanations about OOP (lisp & flavors for 7-8 years), and can hold my own in C. So, especially being a Lisper, I want to know which of the 50 ways of doing things is the one I want. ( :> or :<, as you like!) What does the compiler _really_ make of this, etc. Typical prudent approach: For my first project, I decided to make (pc) window_streams out of iostreams. Sure! Books (including Stroustrup) tell how to USE streams but dont tell how to customize them. OK, read the header looking expecially for those silly virtual declarations (Why aren't they _ALL_ virtual!?!? yeah yeah "That's why Lisp is sooo slow" ptwbtbtbt!) . So, a little experimenting later, I override do_sputn and output to my stream works as intended! Whoopee. Try do_sgetn, nogo :< So, what is the contract for iostreams? Is there one? or if thats too involved: where do you learn about these things? thanks bruce miller@cam.nist.gov