To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 7060
7059  |  7061
Subject: 
Re: IC trouble - function definition
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 12 Nov 1999 23:41:25 GMT
Original-From: 
BART_SCHRIJVER@AGILENT.COMstopspammers
Viewed: 
881 times
  
     John:

     If your function does not need a parameter passed to it
     just do:

     void detect_time2()
     {
     /* code here */
     }

     just like
     int main()
     {
     /* code here */
     }

     Bart.


______________________________ Reply Separator _________________________________
Subject: IC trouble - function definition
Author:  Non-HP-bachman (bachman@anatek.mv.com) at HP-PaloAlto,mimegw2
Date:    11/12/99 11:44 AM


I am having trouble with function definitions.  Can someone tell me what is wron
g with this:

void detect_time_2 (void)
        { code here;}

I get a syntax error on the definition line and cannot figure out why.

TIA

John



Message is in Reply To:
  IC trouble - function definition
 
I am having trouble with function definitions. Can someone tell me what is wrong with this: void detect_time_2 (void) { code here;} I get a syntax error on the definition line and cannot figure out why. TIA John (25 years ago, 12-Nov-99, to lugnet.robotics.handyboard)

7 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR