Renesas TM V.3.20A Spezifikationen Seite 519

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 762
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 518
Renesas Technology, Tools FAQs
Last Updated: July 22, 2003
Document Number: 03072204_e
Q.
Can a path be specified in a file name for #include specification?
A.
A relative path name can be specified. The compiler searches a relative directory for the file specified by #include from a file where
#include is written. Specifying an absolute path is inhibited, because it could impair program portability.
The following shows a description example when specifying src_1.h in the src_1.c file with #include.
Description of src_1.c:
#include "..\header\src_1.h"
:
File configuration:
C:\work\src_1.c
C:\work\src_2.c
:
C:\header\src_1.h
C:\header\src_2.h
:
Note!
In this case, if you write "\header\src_1.h" to specify the file name including a path, an error may result.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Seitenansicht 518
1 2 ... 514 515 516 517 518 519 520 521 522 523 524 ... 761 762

Kommentare zu diesen Handbüchern

Keine Kommentare