To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 1938
1937  |  1939
Subject: 
Re: legOS and alternate operating systems [now off topic]
Newsgroups: 
lugnet.robotics
Date: 
Wed, 30 Dec 1998 22:54:04 GMT
Original-From: 
dave madden <DHM@PARADIGM.WEBVISION.COMnospam>
Viewed: 
1179 times
  
=>From: Norman Fair <nfair@gdi.net>
=>...
=>What I meant in my previous post is, when you linked in a "traditional"
=>library it only linked the routines you actually used, not the entire
=>library.  But with object oriented you link in the entire class, even if
=>you only use one or two methods.

This is not exactly correct; C and C++ typically use the same linkers,
although C++ often requires extra functionality to ensure that
templates are instantiated correctly.  There is no requirement that
unused class methods be linked in, but linkers work on a per-file
basis, not per-function.  So, if you use any function in a particular
file, then you get all the other functions.  And, of course,
developers often put all the methods for a class in a single file.  If
they broke the methods into separate files, then the unused methods
wouldn't get linked.

d.
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message is in Reply To:
  RE: legOS and alternate operating systems [now off topic]
 
Actually, this does concern Legos programming. There is only so much memory in the RCX, so you have to program very efficiently. You have to be able to squeeze a program in there. What I meant in my previous post is, when you linked in a (...) (26 years ago, 30-Dec-98, to lugnet.robotics)

4 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
13 hours ago
Custom Search

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