5,331 Posted Topics
Re: Sorry, but I need to know what your price range is in US Dollars. The Galaxy S is a great phone. I have been using a Google (HTC) Nexus One for about 2 years now (Android 2.3 - Gingerbread) - and it has been very reliable for me. I think … | |
Re: Any or all of the above... Or perhaps power supply... | |
Re: 1. Boot a live Linux image from a cd/cvd/usb drive. 2. Attach external hard drive or usb drive to save data. Format as either ntfs or fat-32. 3. Mount internal system drive (windows) as ntfs volume at some specified mount point, such as /mnt/winboot, on the live linux system. 4. … | |
Re: Go here: http://unetbootin.sourceforge.net/ Install on a thumb drive a live Ubuntu image. Boot it. Install Ubuntu. Done... | |
Re: Build a system with Intel workstation/server motherboard (dual CPU capable - a gazillion GB of ram space available) and an nVidia graphics card. They are reliable, fast, and well supported by Intel directly. I did that about 5 years ago, and if upgrading now, that's what I'd do again. At … | |
![]() | Re: As far as I know, the only way this can happen is if there is some software running on your system that takes data stored to the USB/thumb drive and converts it on the fly before it is physically written to the device. This sounds very much like a virus … |
Re: If you were a physicist (my wife is - PhD in particle physics), then you would know the answer to this question! PhysNet, CERN, FermiLab, Argonne, SLAC, LBL... If you don't, then either you aren't a physicist (or student of the discipline), or you should be doing something else! I … | |
Re: Lenovos are good and reliable. Whether is is best for your purposes depends entirely upon what those are, and you weren't too clear on that... | |
Re: Use the string::c_str() method to extract a const c-string. Also, line 39 should be this: char * str = ::strdup(fileline.c_str()); and eliminate line 40... | |
Re: With some system BIOSes you have to enter the BIOS to tell it to bood from CD/DVD/USB, otherwise it will only boot from HD or network. My Intel motherboard operates like that. I would agree with rch1231 that it is trying to use PXE to boot from the network instead … | |
Re: Do you have any programming experience? Do you know python at all? | |
Re: Also, you have 8GB of RAM. Are you sure you aren't hitting the swapper (virtual memory / swap space)? A lot of these games are very RAM intensive, so it is possible that you are hitting the swap file. | |
Re: What JorgeM said is basically correct. Some simple math is required to decode IP addresses (I used to teach this in elementary networking classes to AT&T technicians, most with a high-school education) for a network admin position, but this is simple for anyone with high-school math. To be a network … | |
Re: Not enough information. If you have a copy of the data, and you have root (admin) privileges, then you should be able to access any of that data. Next, what do you mean by "recover user accounts". Recover data? Restore user account to active status on the system? What? | |
Re: There is no standard hashmap for C, though there is for C++ (a template class). You are going to need to do the heavy lifting to implement this yourself, or find some open source code that implements it. As I have implemented such code in the past (not open source, … | |
Re: You aren't showing enough code. What is the element that defines the set member? Is that being changed? | |
Re: C and D drive designators are Windows constructs. AFAIK, they have nothing to do with OSX. | |
Re: Good for you! Another approach would be a function (not class member method) `double distanceBetween(const threeD& ptA, const threeD& ptB)`, which could be used anywhere.It may be more reasonable for general algorithms as well. In any case, this is just a suggestion. Your approach is perfectly reasonable. | |
Re: It was slow, but it worked. Many many years ago I wrote a fibonacci generator using try/throw/catch exceptions in C++ as a test of the exception handling of various compilers of the time (about 20 years ago - a lot of them were buggy). I'd post it here, but the … | |
Re: It depends upon how the access point / router is configured and how devices are connecting to it. From the speed mentioned, your A/P is an 802.11n device. It can also handle 802.11g and b (53mbps and 11mbps, or lower, depending upon device distrance from A/P-Router) devices. However, it will … | |
Re: The Samba shares should show up in "My Network Places->Entire Network->workgroup". Under workgroup should appear each remote system that is attached to your workgroup (which Samba-enabled Linux systems should be), and under those directories will appear the shared folders that they are providing. If you need to login to access … | |
Re: Have you read the documentation and wikis on the lightsquid web site? Go to http://lightsquid.sourceforge.net/ for more information. | |
Re: Ane we usually guard these with #ifdef DEBUG ... #endif /* DEBUG */ blocks so that you can turn the printf statements off when you are ready for production. Example: void checkcollision() { float x1 = tanks[0].x; float y1 = tanks[0].y; float x2 = tanks[1].x; float y2 = tanks[1].y; float … | |
Re: Get a new drive. I believe that the Mac requires the backup drive to be in their format. The Windows backup drive is probably in either FAT or NTFS format (NTFS most likely, depending upon its size). | |
Re: You are not providing enough information to help much. IP addressing problems arise when either you have assigned the same IP address to two computers on your LAN, or you have assigned a static IP address to one that is in the dynamic address range of your DHCP server that … | |
Re: Perfectly functional, if not simple or "elegant". This will do the same, in less code and perhaps more efficiently: // This is == in a derived class bool CFlatMeshGen::operator== (const CFlatMeshGen& rhs) const { // First compare the base class members.... return ((const CMeshGen&)(*this) == (const CMeshGen&)rhs && m_XSize == … | |
Re: Is this an external drive? If so, is it formatted in a way that is compatible with your computer? Windows won't deal nicely (without 3rd party drivers) with Linux or Apple file systems. Linux will handle Windows file systems without much fuss, and there are driver for Apple file systems … | |
Re: That's the nice thing about VMs - you can work with new kernels and versions of operating systems without munging your basic system build. I do that all the time, including running non-Linux systems like Solaris, QNX, DOS, etc. There is also the processor emulator/VM qemu which will let you … | |
Re: Either the tarball is corrupt (is there a checksum to verify?), or the file name extension lies. In any case, you can expand a compressed tarball without decompressing the file first with tar using either the -z (gzip) or -j (bzip2) options: `tar -zxf tarballname`, or `tar -jxf tarballname`. This … | |
Re: USB modems on linux use the PPP (point-to-point protocol) to create a network connection. This usually does not require any specific driver. You need to visit the modem maker's site to see how to use it with PPP on Unix/Linux/OSX. Basically, the modem looks like a modem over USB device … | |
Re: There is an environment variable HISTSIZE that specifies the number of commands that history will save. I'm not sure what the default is, but I have mine set to 1000, so I have access to the last 1000 shell commands. You can also set the HISTCONTROL=ignoredups which will keep you … | |
Re: Several things happen when you remove the CMOS battery for more than a very short period of time (like to replace it with a new battery), and the system is unpowered. 1. The CMOS memory is erased. This is where the BIOS settings are stored. 2. The system is restored … | |
Re: How do you know it isn't a problem with your internet provider? I assume you are using a home router? If not, does your ISP have a limit on the number of active connections? ![]() | |
Re: So, you are using a remote client running VNC to connect to your Ubuntu 8.04 system, and are trying to run Eclipse w/ CDT on Ubuntu? One assumes other desktop stuff works ok? | |
Re: Also, providing the error output that you get is helpful as well. FWIW, the GNU Make documentation is quite good. Go here: http://www.gnu.org/software/make/manual/make.html | |
Re: By default, class members are private. You cannot assign to temp->TeamName from a string. This is where a public setter method is appropriate, as in class team { string TeamName; . . . public: setName(const string& name); . . . }; | |
Re: A double is a scalar type, not a class type, but as nmaillet asked, is there a question here? | |
Re: Usually, you will need to also pass the size of the elements, as in: `void randomProgram(char random[][], size_t max1, size_t max2)` where max1 is the size of the first element, and max2 the size of the second. Then you can process it with something like this: for (size_t i = … | |
Re: You can do that, but it means that you need to configure the PC with internet connection as a router. How you do that depends entirely upon the operating system you are using (Windows, Linux, Apple-OSX). | |
Re: Do what the others said, but do this also. 1. Shut down your computer (he may have infected it with a keystroke recorder). 2. Go to another computer that you have NEVER used or communicated with before (the local library is a good option). 3. Change all of your accounts … | |
Re: Computer forensics is a growing field, and there is always a need for competent analysts in that field of endeavor. If that is your interest, then I would suggest that you consider an MS in computer forensics as well as a BS in computer science. The CS degree is a … | |
Re: You say you have an SSD, yet you also say that you hear the HDD spin up... Huh? SSD's (solid-state discs) don't spin up. In any case, if you get no post and no beeps, then I think you either have a power supply or motherboard problem. Time to take … | |
Re: We do like to help people here at Daniweb, but we expect them to try to help themselves first! Especially for class exercises/problems. If we just give you the answer, it is simple cheating... Sorry, but most of us have worked to hard to learn this stuff just to give … | |
Re: What L7Sqr said - post the compiler error / warning output here please. | |
Re: > Don't attempt to write all this at one time. Code a little bit, compile, correct errors, then repeat. Many new programmers make the mistake of attempting to write everything all at one time, which can lead to millions of error messages as a lot of confusion. So take it … | |
Re: I've been using a pair to bridge my downstairs office with router, switch, and DSL modem to our upstairs WiFi access point and my wife's office switch for almost 5 years. No problems whatsoever. | |
Re: Look at the patterns. Each parameter in the config file has an '=' sign in it. The part before the '=' is the parameter, and the part after is the parameter value. So, do this. 1. Read line into buffer. 2. Check for comment character ('#') 3. if no comment, … | |
Re: Sorry, but the last time I did anything with COBOL was about 25 years ago... Try learning the language. The problem should not be difficult to solve, I would think. It is just basic I/O. | |
Re: By now, people should realize that we are not here to help you cheat on your homework! Try to solve the problems first, and then we MIGHT decide to help you sort out your problems... :-( | |
Re: There are a couple of problems here. One is that the pointer you passed to `doSomething()` is a reference to a concrete object. When you allocate the array to that, you have corrupted memory - BOOM! SEGFAULT... You need to pass a pointer to a pointer, and then you can … |
The End.