Search found 968 matches

by nymus
Mon Feb 24, 2003 9:13 am
Forum: Programming Discussion
Topic: HEEELP!! KOS C++ Inheritance
Replies: 5
Views: 572

WOO HOO!!! Thanks a lot toastman. I got the impression from First of all, the cross compiler may not be so lax in your sloppy scoping in the first place. that you were a little pissed. The book I study C++ with used the method in the code (which works too on Linux ) and I've also seen that strategy ...
by nymus
Mon Feb 24, 2003 5:02 am
Forum: Programming Discussion
Topic: GPL Questions
Replies: 29
Views: 1548

Yep, I think that's right. I would also like to know who ISN'T covered by the 'automatic' copyright system I understand that if you make a program, you automatically own the copyright to it. Are all countriies covered by this law? What's stopping someone in Africa claiming he owns the copyright? Do ...
by nymus
Sun Feb 23, 2003 7:32 pm
Forum: Programming Discussion
Topic: HEEELP!! KOS C++ Inheritance
Replies: 5
Views: 572

scope resolution is for static functions. In this case, Background is a subclass of Texture. I want to call the draw function in Texture from +-background. try this code and see what I mean. #include <iostream.h> class Point { private: int x, y; public: Point(int a, int b): x(a), y(b) {} virtual ~Po...
by nymus
Sun Feb 23, 2003 6:41 pm
Forum: Programming Discussion
Topic: HEEELP!! KOS C++ Inheritance
Replies: 5
Views: 572

HEEELP!! KOS C++ Inheritance

I'm writing a Texturing class using parallax. It works on its own, but when I try to inherit it and call the draw function from a (direct) subclass, nothing appears on screen (uses parallax) I'm just giving the nuts and bolts of it /********************************************** * THIS CLASS WORKS P...
by nymus
Sun Feb 23, 2003 6:28 pm
Forum: Programming Discussion
Topic: I'm not a programmer, but ....
Replies: 10
Views: 952

Whether or not you decide to take a course is up to you. I personally feel courses progress too slowly and if you want to start making serious stuff like a game RIGHT AWAY, then you're better off getting a book on C++ (I think it's easier than C). I recommend Tom Swan's GNU C++ for Linux. Here is a ...
by nymus
Tue Feb 11, 2003 4:52 pm
Forum: Programming Discussion
Topic: iris 3d issue
Replies: 16
Views: 1035

I think your elfs are huge because they are not stripped of symbols. If you load the elf in a gex-editor eg KDE's HexEdit, you'll be able to see function names etc. To remove these symbols, type "sh-elf-strip" [filename.elf] (If you built your environment using target=sh-elf) you could als...
by nymus
Tue Feb 11, 2003 4:42 pm
Forum: Programming Discussion
Topic: Programming books?
Replies: 20
Views: 1513

I think C++ is your best bet, especially if you are thinking along the DC dev/linux lines. I recommend Tom Swan's GNU C++ for Linux (if you can find it). It tells you all you need to know to get started with c++ development on gcc and even goes into advancecd stuff. It is my most prized book right n...
by nymus
Tue Feb 11, 2003 4:20 pm
Forum: Programming Discussion
Topic: KOS clock_t times(NULL) function
Replies: 1
Views: 290

KOS clock_t times(NULL) function

Hi, I'm working on a small DC game and I need to perform a task after a certain interval of time (fraction of a second). using times(NULL) works with linux local gcc but when I compile for DC using KOS, it fails at the linkage stage which suggests that the times() function exists but the library is ...