5,331 Posted Topics
Re: That is what our friends Google, Yahoo!, and Bing are for! :-) | |
Re: 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. | |
Re: 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 … | |
Re: 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: … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
| |
Re: 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 … | |
Re: 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). | |
Re: 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. | |
Re: 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"? | |
Re: 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 … | |
Re: 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)? | |
Re: This may help: http://pcsupport.about.com/od/fileextensions/f/azwfile.htm | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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. … | |
Re: 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. | |
Re: Please post your solution so that others can learn from it! :-) | |
Re: `#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 */ | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: Homework, right? Sorry, but we don't do your work for you. So, what IS the question? :-) | |
Re: 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/ | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
| |
Re: Is this a work computer, or a personal one? | |
Re: 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)); … | |
Re: Read the documentation for this yet? What about Google/Oracle? | |
Re: 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! :-) | |
Re: "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 … | |
Re: The nice thing about Windows, is that no 2 systems behave the same... :-) My advice? Move to Libre Office instead of MS Office. | |
Re: 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 … | |
Re: 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 … | |
Re: 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... | |
Re: 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 … |
The End.