Go to Post In my opinion, I wouldnt want gifts or praise from people about my help to a robotics team, all I would want is a thank you, that would make all my hard work and efforts worth while and it would prove to me that I could actually be making a difference in the students lives - Mike Schroeder [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 06-07-2004, 05:45
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: another newbie

Quote:
Originally Posted by Astronouth7303
In the macro, wouldn't you want to use a C style comment? I think it compiles as:
Code:
//...
      if(pir_in == 1 // In place of the pir_in == 1 here, you would put)
//...
Correct me if I'm wrong.
Yeah, you're right. The preprocessor won't handle (well, most cheaper ones don't) the comment and will insert it into the statement. The best solution would just be to put the comment above the #define.
__________________

  #17   Spotlight this post!  
Unread 08-07-2004, 18:16
dumbo dumbo is offline
Registered User
no team
 
Join Date: Jul 2004
Location: usa
Posts: 5
dumbo is an unknown quantity at this point
Re: another newbie

this may not be the place for me. who are you today
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
navigate and default code newbie question alan koch Programming 2 17-02-2004 22:25
the question only a newbie would ask.. archiver 2001 2 23-06-2002 23:17
Gratitude from a newbie archiver 2000 1 23-06-2002 22:52
newbie Mrs. Flynn General Forum 6 23-05-2002 17:45
Total newbie to the Chairman's Award A. Leese Chairman's Award 4 06-06-2001 22:03


All times are GMT -5. The time now is 03:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi