To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *3744 (-5)
  Re: problems with creating arrays of larger sizes
 
(...) This won't work for sure. If you look into the kernel sources, DEFAULT_STACK_SIZE gives the value for every user program's stack. Actually, this is 1KByte, if I remeber it right. Your character array will be allocated on the stack and so you (...) (20 years ago, 17-May-04, to lugnet.robotics.rcx.legos)
 
  Re: problems with creating arrays of larger sizes
 
(...) Hi Andreas I would suggest, that you instanciate your variable as global, and not within the main() function. Or declare it as static so that the compiler does not try to instanciate it on the stack. The problem could be due to a stack (...) (20 years ago, 17-May-04, to lugnet.robotics.rcx.legos)
 
  Re: problems with creating arrays of larger sizes
 
OK, here is my code. #include <dmotor.h> #include <dsensor.h> #include <unistd.h> #include <dbutton.h> #include <conio.h> #include <stdio.h> #define n 1000 void verzoegerung(unsigned long zeit) { while(zeit--); } int main() { int i; char c[n]; (...) (20 years ago, 17-May-04, to lugnet.robotics.rcx.legos)
 
  Re: Problem with lego pneumatic parts
 
(...) Presumably that was Ben Fleskes... (see (URL) Interesting....they make custom plastic parts. (...) I have been very pleased with the wheels Ben commissioned and it's in part a testimony to the molder he chose (and in part to his engineering (...) (20 years ago, 15-May-04, to lugnet.robotics.rcx.nqc, lugnet.robotics.rcx.legos, lugnet.trains)
 
  multiple source files?
 
How do I compile multiple .C source files to one .lx file? as far as I know, the default makefile doesn't support that. Thomas (20 years ago, 15-May-04, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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