5,331 Posted Topics

Member Avatar for user653453
Member Avatar for rubberman
0
38
Member Avatar for tonyhibbert321

I have a nice set of small, but powerful Bose speakers for my desktop. It also has dual audio inputs so you can connect more than one computer to them at a time. Bose has a reputation for having about the best sound for small speakers available.

Member Avatar for rubberman
0
118
Member Avatar for sophiaya

Boot just about any Linux Live CD/DVD. Assuming that the disc is the system drive (/dev/sda), you would do this once you have booted the disc and logged in (as root): [code] dd if=/dev/zero of=/dev/sda bs=1M [/code] This will erase your drive 1MB at a time until it is totally …

Member Avatar for mjdodd
-1
292
Member Avatar for CoolAtt

Usually we use nslookup for this. The output of "nslookup google.com" returns this: Server: 68.94.156.1 Address: 68.94.156.1#53 Non-authoritative answer: Name: google.com Address: 173.194.46.64 Name: google.com Address: 173.194.46.71 Name: google.com Address: 173.194.46.68 Name: google.com Address: 173.194.46.73 Name: google.com Address: 173.194.46.65 Name: google.com Address: 173.194.46.70 Name: google.com Address: 173.194.46.69 Name: google.com Address: …

Member Avatar for CimmerianX
0
281
Member Avatar for daniel.conlinjr.1

You can certainly download and build the source for the mysql client, or install it directly (not sure about the Mac), but that is only a command-line interface. In any case, you need to log in, although you can script that easily enough, since the mysql client UI supports the …

Member Avatar for CimmerianX
0
192
Member Avatar for arezooabyaneh

I assume you are taking a C++ programming class? Is this your first programming class? In any case, we don't do your homework for you, but we will help you fix your problems once you have made a *reasonable* attempt to write the code in the first place.

Member Avatar for Alex solomon
-1
82
Member Avatar for alaa sam

AFAIK, there is no such, unless there is something that is integrated with a computer and signal capture device that can accurately measure the signal strength at any point relative to the AP. Then, you would need to thoroughly traverse the entire 360 degree range around the AP at various …

Member Avatar for tsttst
0
1K
Member Avatar for brugernavn

You also likely need a static IP address associated with the domain name. FWIW, 10.0.n.n addresses are not routable externally from your internal network. You will need to create firewall rules to allow certain ports in your router/firewall to be associated with specific hosts inside your network. So, what exactly …

Member Avatar for CimmerianX
0
190
Member Avatar for alexstone
Member Avatar for peter.son.10297

Good programmers don't limit themselves to 1 or 2 programming languages. Those who are most employable are those who know a number of them, and can learn more as needed. I started with 8008 assembler, moved to dBaseII, BASIC, C, SQL and PL/SQL (a dialect of ADA), Dibol, C++, back …

Member Avatar for JamesCherrill
0
170
Member Avatar for strRusty_gal

What deceptikon said about main(). All modern compilers will require the int return type unless (in some cases) you tell the compiler you are building legacy (old) code. The old K&R compilers would allow void return type for main(), but no longer (by default).

Member Avatar for strRusty_gal
0
297
Member Avatar for Massive++

What Lerner said is basically a version of "we don't do your homework for you"... :-( An array can be expressed as a pointer. IE, this int intarray[10]; int* pIntArray = intarray; means that you can use pIntArray as an alias for intarray. Still clueless? Read your text books.

Member Avatar for rubberman
0
175
Member Avatar for castajiz_2

Right. And "I am sleepy when I go to bed" also is obvious, but we need more than that. What do YOU mean by "losing quality"?

Member Avatar for rubberman
0
45
Member Avatar for iTechnnn

This is very "clunky" code. It does not reset the size (last element) of the array. Use a vector<Object> class and then you can simply call the remove(index) method on it, and all the internal bookkeeping will be done for you. IE, this would be your code: public class ObjectArray …

Member Avatar for iTechnnn
0
271
Member Avatar for cyberyoda

You most likely need to reinstall the modem driver. Do you have any discs that came with it originally? If not, remember that Google is your friend for this sort of stuff. Finally, what make/model is the modem, and what interface does it use (serial, usb, etc)?

Member Avatar for cyberyoda
0
203
Member Avatar for Darryl_1
Member Avatar for Lawrence Motshegetsi

We don't do your homework for you... Please make an effort and then post your work/code here. At that point, we will see if you need more help.

Member Avatar for rubberman
0
96
Member Avatar for cwarn23

Look at the source code for ffmpeg - the universal / Swiss-Army-Knife of video transcoders. They have code to manipulate just about any video format. FYI, avi files are not a standard - they are containers for other formats. The embedded video can be any one of a number of …

Member Avatar for rubberman
0
405
Member Avatar for kruschev

Is there a reason why you are using virtual inheritance for Student and Employee? That should only be necessary if you are inheriting from more than one class that has a common root class. This does not appear to be the case; however, that is not likely the cause of …

Member Avatar for Krimeplay
0
361
Member Avatar for idnurr
Member Avatar for rubberman
0
133
Member Avatar for Pranshu_1

This sort of low-level exception is frequently caused by unaligned variables in your structures. As decepticon notes, you need to provide some of your source, including structures and where they are used.

Member Avatar for deceptikon
0
198
Member Avatar for david.godistei

You really only need one external static IP that is assigned to your office router-gateway. Then you configure the router to forward the appropriate ports for the database to the machine that is your database server. That machine you want to assign a static IP within your unrouted internal subnet. …

Member Avatar for JorgeM
0
508
Member Avatar for aslam.junaid786

Unfortunately the Iterator interface, and ListIterator class do not have a `rewind()` method, so I think you will have to construct new iterator instances as per JamesCherrill's post.

Member Avatar for JamesCherrill
0
339
Member Avatar for maxbummber
Member Avatar for rubberman
0
276
Member Avatar for smdjilani

`#ifndef` is also frequently used to "guard" header files from being included multiple times, which can be a real problem. Example (myheader.h): #ifndef MY_HEADER_H #define MY_HEADER_H . . . #endif /* MY_HEADER_H */

Member Avatar for rubberman
0
139
Member Avatar for Anumitha

Is this stock as in what is in a store, or is it stock as in "1000 shares of Microsoft"? These are VERY different domains, and the solutions are very different (speaking as someone who has developed both sorts of systems). That said, read what AncientDragon wrote. That is the …

Member Avatar for rubberman
0
232
Member Avatar for edensigauke

Is this on a corporate network? If so, then the problem is likely that you need to deal with the proxy server that allows out-bound access to the internet. Look at your browser proxy settings to see how it is configured.

Member Avatar for rubberman
0
198
Member Avatar for bops

Your system board is failing/overheating. Time to get it replaced... There is no non-mechanical fix for this. It may be simply some capacitors that are failing (a competent repair shop can deal with that), or it may be an integrated circuit (even the CPU) that is failing. Even if not …

Member Avatar for theheirs
0
281
Member Avatar for javanub123

Not a simple situation. You need to write a program (in C, C#, or C++) to monitor all system keyboard activity for all windows (passing valid input events through to the proper window), and only send a shutdown event to the revelant window when the specified time expires. Not a …

Member Avatar for João_5
0
319
Member Avatar for inspire_all

Homework, right? Sorry, but we don't do your work for you. So, what IS the question? :-)

Member Avatar for inspire_all
0
180
Member Avatar for shashidhargm

The best of the lot (and FOSS - Free and Open Source) is ffmpeg. Here is a link to the Windows version: http://ffmpeg.zeranoe.com/builds/

Member Avatar for CimmerianX
0
369
Member Avatar for Ng

Of course, if the user/player uses a binary search algorithm (start at 50, then 75, then 88) They will win in a maximum of 3 moves... Anyway, what NathanOliver said - what is your definition of "score"? Is it the number of attempts? Another observation: after your loop, you test …

Member Avatar for Jamblaster
0
228
Member Avatar for nirmeen.asad

Make an honest effort to solve the problem, post the code here, and we can then take some time to help. In the mean time, it is time to do some internet searches. Wikipedia has a tonne of great articles on many related subjects. Here are a couple of useful …

Member Avatar for nirmeen.asad
0
1K
Member Avatar for smdjilani

On some file managers in Linux, you can specify that an executable is open in a terminal window until you specifically close it. I do that to run tools like par2repair.

Member Avatar for rubberman
0
103
Member Avatar for M44y4

The idea of a token ring local area network (LAN) is to allow all computers on the LAN equal opportunity to transmit their data. A "token" is passed around from system to system, and only the system holding the token can transmit. Yes, the token-ring network invented by IBM is …

Member Avatar for rubberman
0
279
Member Avatar for jean122

The specs are decent, but how old (in human years) is the system? And why are you selling it? A current model 4-core CPU w/ 8GB of RAM and 1TB system disc (operating system not-withstanding) would be worth about what you think it is worth ($500-600 USD). With a registered …

Member Avatar for BigPaw
0
236
Member Avatar for pro_student
Member Avatar for coiseng

The text of your post is "Hi all, I need some help regarding dynamic vector." - where are you using vectors (std::vector<type>) in your code? What about your "area computation" algorithm? Have you accomodated the possibility of range over-run?

Member Avatar for Moschops
0
477
Member Avatar for MasterHacker110
Member Avatar for khalid_3
Member Avatar for Tewhano

Pretty correct. This is code for a Date class that has been validated at many levels: bool Date::isLeapYear() const { bool retval = false; if (isValid()) { int yr = year(); retval = ((yr % 4) == 0 && ((yr % 100) != 0 || (yr % 400) == 0)); …

Member Avatar for Tewhano
0
198
Member Avatar for PaulDel
Member Avatar for PaulDel
0
151
Member Avatar for umairs007
Member Avatar for rubberman
-2
149
Member Avatar for Learner010

What about using Eclipse with the CDT plugins? That is quite nice as an IDE for C/C++, AND you can use it with Java and other languages as well! :-)

Member Avatar for rubberman
0
129
Member Avatar for ggeoff

"Could there be some sort of conflict?". Unlikely, but that may depend upon how they have configured their iPhone email client. Even if they have configured it to remove read messages from the server, it shouldn't interfere with the Outlook startup on the client Win7 machine. What about upgrading to …

Member Avatar for ggeoff
0
303
Member Avatar for minuteman263

The nice thing about Windows, is that no 2 systems behave the same... :-) My advice? Move to Libre Office instead of MS Office.

Member Avatar for minuteman263
0
314
Member Avatar for pheonixkid

If this professor worked for me, I'd fire him! This is a perfect example of "Those who can, do. Those who can't, teach."... He is trying to be overly cleaver and illustrate how you can twist meaning in programming logic. 1) it violates the KISS principal. 2) it doesn't really …

Member Avatar for deceptikon
0
121
Member Avatar for Om Prakash_1

What James said. In addition, a lot of the time there are JNI (Java Native Interfaces) methods/classes that are wrappers to interface with native code that is distinctly platform dependent. If you write "pure" Java, then it is platform independent - the underlying JVM (Java Virtual Machine) takes care of …

Member Avatar for rubberman
0
210
Member Avatar for toniann.midori

What is the 'c' variable? Do you mean 'counter'? IE, your code is not functional. Also, if you mean 'counter' instead of 'c', then you are setting a[*counter] to 0, so the value scanned would be set to 0, before being set to what was found int the stdin stream...

Member Avatar for deceptikon
0
306
Member Avatar for saurav2007

Ok! We have on your right, Assember Wars! :-) AD and M2K, please just agree to disagree, ok? As for static variable instantiation, I do believe that is a compiler implementation issue. IE, it may be like globals (at compile time), or it may be at run time (when the …

Member Avatar for Ancient Dragon
0
280

The End.