Check alle échte Black Friday-deals Ook zo moe van nepaanbiedingen? Wij laten alleen échte deals zien

[c/cpp parser] commentaar is geen commentaar?

Pagina: 1
Acties:
  • 21 views sinds 30-01-2008

  • Limhes
  • Registratie: Oktober 2001
  • Laatst online: 28-10 08:43
In dit topic viel me op dat alles dat uitgecommentarieerd staat, nog wel meegehighlight wordt ware het code.

Zie hier:
C:
1
2
3
int a = 10;
// if (dit == commentaar) { printf("wazig"); }
a = 15;

C++:
1
2
3
int a = 10;
// if (dit == commentaar) { printf("wazig"); }
a = 15;


maar nu begin ik me eigenlijk af te vragen of het niet toch juist is...

edit:

just testing...

[ Voor 40% gewijzigd door Limhes op 25-07-2003 16:39 ]


  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

officieel is // geen comment in C he?

es testen met c++:
C++:
1
// if (dit == commentaar)

Dit topic is gesloten.