home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!beaurega
- From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: printf and Windows
- Message-ID: <BuFM5u.DEC@ireq.hydro.qc.ca>
- Date: 11 Sep 92 20:56:17 GMT
- References: <1992Sep8.093437@axion.bt.co.uk> <715978786snx@apusapus.demon.co.uk>
- Sender: news@ireq.hydro.qc.ca (Netnews Admin)
- Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada
- Lines: 25
-
- We shall not use printf or scanf or functions like that in Windows.
- But, is this true?
-
- As for input functions, I understand scanf can't work.
- But, printf is printing on background, then it is enough for debugging,
- or is there some drawback (i.e. sometimes it will not work for some
- mysterious reason?) ?.
-
- The same way, is fscanf, sscanf and fprintf enough reliable, or is this
- true only in MS-SDK 3.0?
-
- I am using Zortech 3.00r4 and avoided until now fopen, etc. But now,
- was I right and will my programs stop to work someday, or I am safe
- now in using fopen? Did I just misread the books ? Or is there
- some restriction because of memory model so that while I use only
- local memory I am safe?
-
- I have to use fcvt to print floating point numbers. wsprintf does not
- support floating point. But, can I use safely sprintf (with near ptr) ?
-
- --
- \_\ Denis Beauregard * internet:beaurega@ireq.hydro.qc.ca
- / \ Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
- J __> Un Quebec renouvele dans une Amerique renovee
- \_.-=== Opinions ? Et pis non !
-