Renesas TM V.3.20A Spezifikationen Seite 109

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 762
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 108
Renesas Technology, Tools FAQs
Last Updated: July 21, 2000
Document Number: 01051279_e
Q.
When I put "/*" in a comment starting with "//", the compiler generates an error. Can't I use this character combination?
[Example program]
main()
{
// /* abc
}
A.
The NC30 compiler processes a character string which is enclosed with "/*" and "*/", or starts from "//", as a comment. But when
these control codes appears in the same statement, the compiler proceeds with "/* */" as the first priority code. Therefore, when the
compiler finds code "/*" in the above statement, the compiler tries to find "*/" to close the comment. If the compiler cannot find the
pair code, it will issue an error. Therefore, you have to use code "/*" as a pair with "/*". Please note that other ANSI compliant
compilers treat this combination in the same way.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Seitenansicht 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 761 762

Kommentare zu diesen Handbüchern

Keine Kommentare