- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
25 Posted Topics
I am writing a game in which I need to know whether or not a user preforms an action in one second or less. I can not use time() because it measures time in seconds. If the user starts the action half-way through a second it would mess with accuracy. … | |
Re: I would try using SDL. I use it and, it has many functions including detecting mouse and keyboard activity, multithreading, alpha blending, .ttf text, and audio. For simple but excellent tutorials on how to get it, use it and, make games with it check [url]http://www.lazyfoo.net/SDL_tutorials/[/url]. These tutorials show you all … | |
Re: And here is Oregon's weather pattern: Spring: a [B]lot[/B] of rain Summer: warm rain Fall: more rain Winter: cold rain | |
Hi all, I am fairly confident with Python, and am now turning my focus from learning how to program the language to learning to program it well. I am wondering what the best way to approch classes which have too many variables in them. I an writing a platformer game, … | |
Re: The passwords are all encripted in /etc/shadow, but due to the encription you cannot decipher them. If you install the distro on your hard drive then you will be able to reset the password manually by editing the file while booting from another live cd. [This post](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/418856/recover-root-password) describes how to … | |
I have a slackware 13.1 tower computer and an Ubuntu 10.04 netbook. The netbook has an Atheros AR9285 wireless adapter, and I just recently got a Netgear WG111v3 USB wireless for the tower. I got the ndiswrapper driver working for the Netgear, and I have been previously been using the … | |
Hi all, I have a Pentium 4 with hyper-threading on my Slackware machine. Currently I am running the non-SMP 2.6.24.5 kernel, but I want the option to be able to boot with the 2.6.33.4 SMP kernel as well. I already have Lilo installed on my computer and have a large … | |
Re: Personally I would read the file one line at a time to a string and convert that string to a c-string ( char array ). A char array would be ideal for this. | |
Hi all, I am trying to create a class to serve as a customized cout class. Right now I have made some test code to see if I can do it. Right now I am trying to make it function just like cout, but later I will have it do … | |
Hi, I was wanting to write a (ba)sh script to allow me to wait for the detection of a new USB device, and when that device is detected, execute some commands. The scripts are intending to be working on the principle that whenever I plug in a usb device a … | |
Re: I would try using SDL. I use it and, it has many functions including detecting mouse and keyboard activity, multithreading, alpha blending, .ttf text, and audio. For simple but excellent tutorials on how to get it, use it and, make games with it check [URL="http://www.lazyfoo.net/SDL_tutorials/"]http://www.lazyfoo.net/SDL_tutorials/[/URL]. These tutorials show you all … | |
I am adding a secondary hard drive to my dell tower. I am wanting to duel boot Windows XP and Slackware Linux. I currently have only Windows XP on my computer, but I am not sure what formating it has on it. My question is: what format should I use … | |
Re: I would try using SDL. I use it and, it has many functions including detecting mouse and keyboard activity. For simple but excellent tutorials on how to get it, use it and, make games with it check [URL="http://www.lazyfoo.net/SDL_tutorials/"]http://www.lazyfoo.net/SDL_tutorials/[/URL]. | |
Re: Although I have no love for the OS my favorite games are DOS freeware and shareware games especially Dune 2, Bio Menace, Xargon, Tryplane Turmoil, Flashback, PoP 4D, Sky roads and ... OK, I'll stop. :) Try them with DosBox if you find the time. For modern platforms I [B]love[/B] … | |
Re: Finish my SDL Game of Life program. Install Slackware on my tower PC. Ditch Ubuntu and get Slackware on my Netbook. Learn to use blender. Set up a LAN between two @%#& Windows computers. (This is [I]much[/I] harder than it should be! ) | |
Re: External hard drives and flash drives are much slower than the internal hard drive(s). Unless you have USB 3.0 ports then I would go with the internal hard drive but, bear in mind, writing and re-writing things on your hard drive will wear it out. I can't wait until solid … | |
Re: You should try searching online for something like "algorithm for pascal's triangle". I did and I found [URL="http://ezinearticles.com/?Solving-Computer-Science-Algorithms&id=1006181"]this[/URL] website. Take a look and pick the method you can implement best with your experience. If you want help with something else then in the future try a better description of your … | |
Re: These are true but I have not witnessed them: A lady had just bought a new computer back in the day of the 8 inch floppies. She had a 3 1/2 inch floppy drive and some software on a 8 inch floppy. Well it [I]didn't fit[/I] so with wonderful ingenuity … | |
Re: You may also want to consider using a struct if it fits your needs. They are simple to put into a class. | |
Re: I registered today and got that message as well. Doesn't seem to have any effect. | |
Re: As above: Nothing. I still think Pentium 4 computers are fast enough ... and expensive enough. | |
Re: If/when you learn c++ try using SDL if you want to make a 2-D graphical game. It has some excellent tutorials at [URL="http://www.lazyfoo.net/SDL_tutorials/"]http://www.lazyfoo.net/SDL_tutorials/[/URL] SDL is cross platform and can be used with many different programing languages. If you want to start programing I would start with some form of BASIC … | |
Re: I would try using SDL. I use it and, it has many functions including detecting mouse and keyboard activity, multithreading, alpha blending, .ttf text, and audio. For simple but excellent tutorials on how to get it, use it and, make games with it check [URL="http://www.lazyfoo.net/SDL_tutorials/"]http://www.lazyfoo.net/SDL_tutorials/[/URL]. These tutorials show you all … | |
I have two questions relating to classes. I have run into a problem in using classes in multi-file programs. Here are three example files which illustrate the problem I am having and the errors I am getting. [B]file1.cpp[/B] [CODE=c++] //file1.cpp #include<iostream> #include"file3.h" using std::cout; using std::cin; namespace baz { extern … | |
Re: Be careful. If cin.get() --but not cin.getline()-- reads an empty line it will set something called the failbit. The failbit prevents further input to cin.get(). Use cin.clear() to unset the failbit! If you call cin.get() or cin.getline() and the input string is longer than the number of characters specified, these … |