5,331 Posted Topics
Re: Depending upon a lot of unknowable stuff, a laptop battery can last from 1 to 5 years, though it will gradually lose its ability to hold a charge over that time. I've had batteries die in less than 1 year (still under warranty), and in 2+ years (not under warranty … | |
Re: It depends upon the Linux OS you are going to use. Myself, I prefer to have a pure Linux host OS, and then use a virtual machine to run Windows. This is MUCH more secure, and you don't need to reboot the system to run the virtual machine. I also, … | |
Re: As WaltP said. In addition, once you read all of the student records into an array, you can sort it as you wish using the qsort() function / algorithm. You just need to specify the comparison function to use to determine which record is to be sorted ahead of another. … | |
Re: Private: This is only stuff that I can access directly or change. Protected: This is only stuff that I, or my children (derived classes) can directly access or change. Public: This is what I let the world access. Then, we have "friends". Our friends can access/change private and protected elements … | |
Re: Here is some code to convert gregorian (yyyy/mm/dd) dates to julian numbers, and to determine the day-of-week, and name-of-day that you need. I wrote this stuff some 15-20 years ago to run major semiconductor fabs: typedef uint32 julian_t; #define FWBAD_DATE (julian_t)UINT_MAX // --------------------------- Static Data ------------------------- // daysInMonth and firstDayOfMonth … | |
Re: We will help those who make a sincere effort to do the work. We aren't here to do your homework for you... Given that major companies pay me $200USD / hour to write software for them, why should I help you cheat on your school work? :-( | |
Re: What deceptikon said, except instead of "redirect stdin", it should read "redirect stdout"... :-) Another case of the keyboard mis-interpreting the user's intent... :-) | |
Re: There are some good resources online to help with this. One is "Linux Device Drivers" here free: http://lwn.net/Kernel/LDD3/ It can also be purchased from O'Reilly, or Amazon. Another good resource is "Linux Kernel Development" by Robert Love, published by Addison-Wesley. It is also available online (3rd edition) for free. Not … | |
Re: There are a number of IM protocols that are in common use, one of which is ICMP. Look at Pidgin, a popular IM application that handles most protocols. It is open source, so you can see how each protocol it supports (almost 20 differenct protocols) is implemented. | |
Re: Your loop `for(j=k-1;j=0;j--)` is wrong. Try `for(j=k-1;j>=0;j--)` You are assigning j in the test condition instead of testing it to be >= 0. | |
Re: There are open source packages for voice recognition. As for whether or not they would be suitable for this purpose, I don't know. Try a Google search. | |
Re: It depends upon the CPU you have in the system. Current/recent Intel chips have the ability to support virtual machines at the hardware level, allowing you to install/run them directly on the hardware. However, VMware Workstation does not support that as far as I am aware. Some of their higher-end … | |
Re: I don't suppose you went to the cti web site and looked at the specs and software developer documentation, did you? The plus model uses a com port (RS-232 serial port) to communicate with the PC. It will only send you data, in a message format described in detail in … | |
Re: Somehow I don't think you will find many people here familiar with Haiku. I am considered something of an expert on many systems (Windows, DOS, CP/M, Amiga, QNX, Linux, Unix including BSD, Solaris, HPUX, AIX, and Tru64), but I don't know anything about Haiku. I would strongly suggest that you … | |
Re: I assume these branches are geographically separated (in different buildings/towns/states/whatever). In such a case, you will need what is called a "Virtual Private Network", or VPN for short. There are a lot of devices and software that will let you set up such a network, allowing your offices to connect … | |
Re: Have you tried pressing keyboard keys or moving the mouse around? | |
Re: Warranty or not, emachines (or whoever is the manufacturer of this unit) should be willing to provide you with a list of boot-up error codes, or an online accessible version of the user documentation that provides that information. If they don't, then run, don't walk, to another vendor and get … | |
Re: How did you install/copy Windows from the old to the new IDE drive? Also, are they the same size and configuration (heads, cylinders, sectors)? | |
Re: Even root can be protected (prohibited) from creating files or sub-directories if the permissions of the directory are so set. Make sure that the directory is owned by root and has read+write+execute permissions for the owner. You can do that with these commands: chown root dirname chmod u+rwx dirname | |
Re: There are also a LOT of open source projects that are written in C++ that you can review for examples. Look on SourceForge.net, a leading site that hosts many major open source projects. | |
Re: As caperjack suggested, verify that you have properly applied thermal conducting paste/tape between the CPU and heatsink. Also, make sure that the motherboard is not driving the CPU faster than it's rated speed. CPU temperatures much over 50C are not good. My memory temperature is usually higher than that, but … | |
Re: Actually, /mnt should not be cleaned up, as /tmp may be upon rebooting. It is possible that the user has /mnt mounted (sic) from a volatile device, such as a ram disc. In any case, I have never had a problem with stuff in /mnt going away. Normally, dynamic device … | |
Re: `int var = (x) ? y : z;` is equavalent to this: `int var; if (x) var = y; else var = z;` Do note that inline conditional statements like this can only reliably return an integer or compatible type, though you can return pointers with the appropriate casts. Caveat … | |
Re: I like to say that Java is C++ with training wheels, and a 1 speed transmission... :-) For whatever it's worth, I do professional systems development with both languages, but for speed and efficiency, C++ wins hand's down. That said, Java has a LOT of support for stuff that would … | |
Re: You aren't providing enough information to help you. Please elaborate. | |
Re: Read the wikipedia article shown above. For simple programming effort, use the high/low method. First, you have to decide how many decimals of precision you need, and whether or not it preferable for the final result to be low or high. Using a binary search method, you can find the … | |
Re: Try downloading and installing ClamWin, and then scanning your system (both files and memory) with that. It is free, open source, and works quite well. | |
Re: Do what the original PC BIOS did: 1. read the boot sector into memory 2. execute 3. read the first boot partion sector into memory 4. execute FWIW, I had to solve this problem in 1986 for our OEM version of QNX. | |
Re: I just started a new position at a major corporation, and my company-issued laptop/workstation is a Lenovo. It seems to be a very nice system - my personal laptop is a Dell D630. In any case, the Lenovo has an i7 quad-core @ 2.8GHz, 8GB of RAM, and a 17" … | |
Re: Have you tried booting a live Linux CD/DVD/USB drive to see if it recognizes the device? Are you sure it is installed properly? It is a Sata device, not an IDE one? | |
Re: You might want to be sure that either the board has a built-in speaker, or that the computer case speaker is properly connected to the board. If so, then it is probable that this board won't beep when it boots without problems; however, you might want to verify that with … | |
Re: Some nice pre-built systems with Linux installed at the factory (everything is guaranteed to work): http://zareason.com/shop/Desktops/ | |
Re: Ok. This is not particularly useful. What is your OS+distribution? Have you installed all the NIS packages and tools? Have you configured NIS? Are you trying to run an NIS server, or just as a client? All of these questions need to be answered to move forward. | |
Re: Install the gnu compiler tools. Make will come with that. Most installations of Ubuntu/Debian already include the GNU compiler suite, including make/gmake. If you need some other make, such as cmake, then you will need to install that package specifically. So, let me ask, just what are you trying to … | |
Re: Go to the BT Linux site. This is a distribution intended for security professionals who need to do sophisticated system/network penetration testing. If that is your intended goal, then great! If not, then you should try another, more user friendly, distribution, such as Ubuntu, Mint, etc. Anyway, here is a … | |
Re: Worst case? Send it to a certified data recovery firm. It will cost you (possibly as much as $1000). The actual cost will be determined whether they can access the data without disassembling the drive and using specialized equipment to read the data from the platters directly. I mention $1000 … | |
Re: Many Lenovo laptops have dual video adapters - the built-in Intel one, as well as often an nVidia one. If yours is such a system, then you can go into the BIOS and set it up to only use the nVidia hardware, which is a LOT better for graphics processing … | |
Re: So, is this a question? If so, what is it? | |
Re: You are going to need to purchase a retail version of Windows for this system. HP versions of Windows are locked to HP hardware (sometimes specific models). They are OEM copies that check for identifying information on the system when they boot up. | |
Re: Do you plan on running Linux on this machine? If so, check out [url]www.zareason.com[/url]. With 2.3GHz i5 processor, their Alto unit will set you back $798 USD. The Dell Inspirion 14r at $649 (currently) w/ 2.4GHz i5, 500GB disc, and 6GB of RAM is more for the $$. But then, … | |
Re: I am a senior systems engineer for a tier-one mobile phone company. I do systems and performance engineering to support 100M+ customers world-wide. What do I look for in new hires for my team? Math skills, networking knowledge, network management protocols, Linux system programming, ability to think "outside of the … | |
Re: Basically, you are on the right track, but you need to make the member variables pointers, and don't instantiate them in the derived classes. IE, something like this: class X { A* m_myA; // I know this doesn't work due to the abstract definition, but this is my goal public: … | |
Re: I have a rule of thumb for this cruft that I have found to result in much fewer buffer overflow issues - provide double the theoretical maximum (plus a terminating null character). So, in this case I'd simply use a buffer size of 1024 and be done with it. There … | |
Re: This bit of code isn't particulary useful in showing us how you are decoding the data. Provide more source code please. | |
Re: Well, if the CPU fan is not running, then there may be a power supply (or fan) problem. I doubt your issue is the monitor, though possibly the video board (integrated or otherwise) may be fubar. I assume you get no BIOS splash/boot screen? | |
Re: Most motherboards these days are dual channel boards, often requiring that you install RAM in sets of 2. My advice is to visit the vendor/manufacturer's web site and see what the specs are for this board. Anything else is a SWAG and will probably leave you with either a non-functional … | |
Re: It shut itself off in order to avoid damage. That said, it is likely that your system doesn't have enough cooling capacity to deal with high performance computing. Mine used to have a problem with overheating memory chips until I reorganized them so they got better airflow. I now monitor … | |
Re: Adjusting the CPU and memory speed downward will help a great deal. Depending upon your power settings, both Linux and Windows will do this for you automatically when on battery power. | |
Re: Upgrading or replacing any sony laptop stuff with non-sony gear is an exercise in futility. Don't bother trying. | |
Re: currentLink is pointing to head.next, which may well be null, hence the null pointer exception. Test it first using some code like this if (null == currentLink) { // have null pointer } else { // Search or manipulate currentLink } |
The End.