Jump to content

someboddy

Ultra Members
  • Posts

    1,661
  • Joined

  • Last visited

Everything posted by someboddy

  1. Well, I am working on a java game. I will let you download it when it is ready, but in the meanwhile, here are some screenshots:
  2. http://www.bigideafun.com/penguins/arcade/...uin/default.htm
  3. From your question, I figure out you don't have a XBox.
  4. Mazal-tov. You have a baby girl, and you still have time to post here. Guess the mother does all the work... just kidding...
  5. The assistant principal actualy called the police to handle a little girl? Whats wrong with good old spanking?
  6. Star Ocean 3. It's not cancelled, but it's for PS2, and I don't have a PS2, so I can't have it
  7. Is there a good IRC channel with Xbox games downloads?
  8. The letters aren't moving randomly. You share the letters with other users. You can see below how many users are online.
  9. Well, in the last 3 games, there where 3 different vesrions of the triple rod. I hope it will be good in this game. In mz2 you could use the rod to hang from ceilings.
  10. What I mean is to make a floppy disc like the backup boot disc, only it boots mame.
  11. Is this meaning they returned the triple-rod from Megaman Zero 2? The triple-rod form 3 sucked.
  12. How do I compress the streams with VirtualDub?
  13. It began yesterday. I launched my bittorent client, BitLord(a version of BitCommet), and it could not connect to any tracker. I downloaded and installed Azureus, same problem. The problem repeated today. I checked at the BitLord forum, and I am not the only one. Is this happening to anyone else? Does anyone know how? I thought you cann't shut down bittorrent, since it works on many different trackers.
  14. Well, VirtualDub produced a 202MB file! I need something that will fit a floppy-disc. Anyone know a good free program?
  15. Well, this is a little red guy. Beside, this series will never get old.
  16. If you know how to make autoruns for floppy discs, just make a floppy disc that runs MAME, and leave it in your PC.
  17. Well, here are some screenies from gamespot, the best game news site ever - and anyone who says otherwise will get banned. Have any idea when the USA/European version will be released?
  18. I need a program that can edit an entire avi movie: scale the entile movie, cut down a certain area from all the frames, ect. Does anyone know such a program?
  19. I will be your friend
  20. I am a grayhound. Woof
  21. Here are some speciel operators: The () operator. This operator is declared inside a class like that: return_type operator ()(arguments) and you use it like this: object(arguments) The speciel thing about this operator, is that it can have as many arguments as you want. The casting operator is used to change the type of the object, declared inside a class like this: operator type() The speciel thing about this operator, is that you don't need to write the return type before the "operator" keyword. The compiler knows what the return type is according to the operators name. It is called when you try to put the object inside a variable of a different type, or when you call it directly: (type)object); class Cls { private: int value; public: Cls(int v) { value=v; } operator int() { return value; } }; void main() { int integer=Cls(9); } Now integer is set to 9. Ofcourse you can put more complex code inside the operator function. The intput/output operators, << and >>, are acting just like the normal operators, but they are the most complex ones. That is because the way you use them. As you remember, with a member(inside a class) operator function, the first operand is the object itself, stored in the variable "this". Lets take a look at this simple printing command: cout<<o; The first operand is cout!!! That means that if o is an object, the operator function can not be a member of o, and it can not use it's private memeber variables, which we want to print!!! So how do we solve the problem? There are three ways: 1)We can supply our class with get and set functions. However, that way, the whole world can have access to it's private members, and we don't want that. 2)We can make the operator function a friend of our class. However, if I will teach you that, and my programing teacher will find it our, she will kill me. I will be killed anyways, since I tought here the goto command, and I don't think I can be killed twice. So this is not an option here. 3)We can supply our class with read/write functions. This will be what we do: #include<iostream.h> class Cls { private: int value; public: Cls(int v) { value=v; } void write(ostream& ostrm) { ostrm<<value; } }; ostream& operator<<(ostream& ostrm,Cls cls) { cls.write(ostream); return ostream; } void main() { cout<<Cls(5); } You can do the same thing with the input operator >>. The reason the operator function returns ostream& is that it will be possible to chain: cout<<"Cls="<<Cls(5)<<"got that?\n"; That will be all for today. Class dissmissed.
  22. They should make him read 1000 spam messages a day.
  23. Can anyone explain me how to use IRC with trillian?
×
×
  • Create New...