KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q42598: RDFILE.C And WRFILE.C Are Incorrect in QuickC’s On-Line Help

Article: Q42598
Product(s): See article
Version(s): 2.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | langdoc docerr | mspl13_c
Last Modified: 2-MAY-1989

The sample programs WRFILE.C, on Page 179, and RDFILE.C, on Page 181,
in the "C for Yourself" manual that comes with Microsoft QuickC
Version 2.00 are correct. However, when you pull up those examples
from the on-line help, you will notice that the fopen() function calls
are incorrect. The single backslash ("\") should be replaced by a
double backslash ("\\").

To access the on-line examples, do the following:

1. Enter the QuickC environment.

2. Choose the Help menu.

3. Choose Contents.

4. Choose C for Yourself Programs.

You should see quite a few files listed. To bring up the file WRFILE.C
or RDFILE.C, move the cursor to that file and press ENTER, or double
click the right mouse button. In both files, you need to change the
line containing the fopen() function. Change the first parameter in
the function call from

   c:\testfile.asc

to

   c:\\testfile.asc

Now the file will compile, link, and run correctly.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.