Thread: Comments
View Single Post
  #2   Spotlight this post!  
Unread 18-01-2004, 21:38
KevinB's Avatar
KevinB KevinB is offline
Registered User
AKA: Alum
no team
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2001
Location: AL
Posts: 188
KevinB will become famous soon enoughKevinB will become famous soon enough
Send a message via ICQ to KevinB
Re: Comments

The way I've always understood it was that /* */'s were the only way to use comments in C. When C++ came along, it added the // style comments. Therefore: //'s aren't a part of standard C, only C++.

That probably explains why a lot of people don't use them: they don't expect them to work! However, you are correct in saying that the Microchip compiler does seem to allow them.

So // away!