To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1418
1417  |  1419
Subject: 
Re: main() not defined?
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Tue, 21 May 2002 03:29:36 GMT
Viewed: 
7111 times
  
In lugnet.robotics.rcx.nqc, Brian Smither writes:
> I get this error - "main() not defined" - when compiling. The code is
> copied straight from the Ferrari book. While C is the language of my
> choice, the line of code isn't so obtuse as to hide errors from me. So
> probably there is some other requisite parameter that is unique to Bricx
> (set to default to RCX 2.0) or NQC (latest versions).

The code on page 107 has "main()" capitalized (i.e., "Main()") and it
shouldn't.  The error I get is "task 'main' not defined".  I'm relatively
certain it is a capitalization problem.

John Hansen
http://members.aol.com/johnbinder/bricxcc.htm



Message is in Reply To:
  main() not defined?
 
I get this error - "main() not defined" - when compiling. The code is copied straight from the Ferrari book. While C is the language of my choice, the line of code isn't so obtuse as to hide errors from me. So probably there is some other requisite (...) (24 years ago, 20-May-02, to lugnet.robotics.rcx.nqc)

5 Messages in This Thread:


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

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