Renesas TM V.3.20A Spécifications Page 109

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 762
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 761 762

Commentaires sur ces manuels

Pas de commentaire