5,331 Posted Topics

Member Avatar for vinnitro

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 …

Member Avatar for eminenz cw
0
165
Member Avatar for AnilKumar_19
Member Avatar for Its.Obi

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. …

Member Avatar for rubberman
0
256
Member Avatar for najm.macet

Go here: http://unetbootin.sourceforge.net/ Install on a thumb drive a live Ubuntu image. Boot it. Install Ubuntu. Done...

Member Avatar for rubberman
0
93
Member Avatar for Delnith

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 …

Member Avatar for RedDingo
1
186
Member Avatar for Zaina jee

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 …

Member Avatar for faroukmuhammad
1
193
Member Avatar for abbeyinka

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 …

Member Avatar for AnilKumar_19
0
107
Member Avatar for AnilKumar_19

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...

Member Avatar for AnilKumar_19
0
277
Member Avatar for AutoPython

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...

Member Avatar for rubberman
0
433
Member Avatar for Drai

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 …

Member Avatar for vithal.kambar
0
118
Member Avatar for eleiloon
Member Avatar for rubberman
0
120
Member Avatar for flipboi15

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.

Member Avatar for BigPaw
0
198
Member Avatar for nelson mark

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 …

Member Avatar for CimmerianX
0
4K
Member Avatar for kv79

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?

Member Avatar for kv79
-1
146
Member Avatar for gwolf1

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, …

Member Avatar for deceptikon
0
575
Member Avatar for maybnxtseasn

You aren't showing enough code. What is the element that defines the set member? Is that being changed?

Member Avatar for rstralberg
0
157
Member Avatar for yebabawe

C and D drive designators are Windows constructs. AFAIK, they have nothing to do with OSX.

Member Avatar for tompatrick
0
193
Member Avatar for jongiambi

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.

Member Avatar for rubberman
0
869
Member Avatar for djbsabkcb

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 …

Member Avatar for josh2k12
0
2K
Member Avatar for maharjun

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 …

Member Avatar for bobbyraw
1
579
Member Avatar for professor123

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 …

Member Avatar for rubberman
0
154
Member Avatar for professor123

Have you read the documentation and wikis on the lightsquid web site? Go to http://lightsquid.sourceforge.net/ for more information.

Member Avatar for professor123
0
122
Member Avatar for dancks

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 …

Member Avatar for dancks
0
119
Member Avatar for addicted

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).

Member Avatar for tompatrick
0
137
Member Avatar for hakim179

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 …

Member Avatar for hakim179
0
242
Member Avatar for owenransen

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 == …

Member Avatar for rubberman
0
127
Member Avatar for Paul TS

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 …

Member Avatar for rubberman
0
207
Member Avatar for rudasi

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 …

Member Avatar for rudasi
0
329
Member Avatar for mari33482

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 …

Member Avatar for rubberman
0
190
Member Avatar for jalpesh_007

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 …

Member Avatar for rubberman
0
169
Member Avatar for professor123

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 …

Member Avatar for rubberman
0
265
Member Avatar for atabong

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 …

Member Avatar for rubberman
0
255
Member Avatar for nicksuave

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?

Member Avatar for Tony.T67
0
250
Member Avatar for shwick

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?

Member Avatar for pomme
0
479
Member Avatar for Kyle Willett

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

Member Avatar for Kyle Willett
0
251
Member Avatar for Vish0203

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); . . . };

Member Avatar for rubberman
0
207
Member Avatar for sivate

A double is a scalar type, not a class type, but as nmaillet asked, is there a question here?

Member Avatar for rubberman
0
48
Member Avatar for Carc369

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 = …

Member Avatar for rubberman
0
144
Member Avatar for jcbest4life

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).

Member Avatar for JorgeM
0
180
Member Avatar for bassbelly

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 …

Member Avatar for gerbil
0
106
Member Avatar for JokerAce89

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 …

Member Avatar for kathirvelan
0
634
Member Avatar for JuRaS1C

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 …

Member Avatar for JuRaS1C
0
113
Member Avatar for augustinquizzy

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 …

Member Avatar for Ancient Dragon
0
186
Member Avatar for caven.chunyen_1
Member Avatar for gg652

> 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 …

Member Avatar for rubberman
0
278
Member Avatar for ChrisHunter

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.

Member Avatar for rubberman
0
153
Member Avatar for Dudearoo

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, …

Member Avatar for ravenous
0
189
Member Avatar for rae08

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.

Member Avatar for stercor
0
1K
Member Avatar for BunBean

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... :-(

Member Avatar for Schol-R-LEA
0
418
Member Avatar for idlackage

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 …

Member Avatar for rubberman
0
216

The End.