5,331 Posted Topics
Re: Not enough information here. My advice? Take it to a repair facility, or if it is under warranty then contact the vendor. | |
Re: Ditto what CimmerianX said. Dell has very good tech support, and you can chat online with their tech people. They are better even than my own company's help desk people! If you need a repair, it will be reasonably priced. If it is something that should not have happened, they … | |
Re: It should take a standard USB cable (square end goes into monitor, flat end into computer). You can get one from just about anywhere for a few $$. | |
Re: You need to show how the files are linked: ls -l /usr/bin In any case, the files python3 and python3.2 are the executables you need to run. If the raw /usr/bin/python is not linked to one of those, you can change that easily enough. | |
Re: Not relevant directly to solving your problem, but you might be interested in Henry Spencer, the author of regex: http://en.wikipedia.org/wiki/Henry_Spencer | |
Re: The Win32 API is a C api, not C++, so in order to apply object-oriented methods to it, you have to wrap it inside of classes. Qt and GTK (Qt more so) are good if you want to develop applications that can run on Windows, Linux, Unix, etc without modification … | |
Re: The coding is not too complex, but there are a lot of small steps involved. If you really are insterested in this stuff, get this book: http://www.amazon.com/Internetworking-TCP-Vol-III-Client-Server/dp/0130320714 | |
Re: Unlike C++, you cannot override the primitive relation operators in Java. You would need to implement methods like this: class X { bool isLessThan( const X rhs ) ( ... return trueorfalse; } bool isGreaterThan( const x rhs ) { ... return trueorfalse; } } | |
Re: Tomcat is installable from aptitude (apt-get) and synaptic package managers. I don't know about Axis2. I am installing an Ubuntu 12.04 image on a VM over the next couple of days (the DVD's are downloading now), so I'll reply back about that when I know a bit more. Usually, if … | |
Re: If you have the original XP installation disc, then just have it install over the Win7 partitions, taking over the disc. If necessary, you can easily do that with a live Linux CD and uting the dd command: dd if=/dev/zero of=/dev/sda That will erase the entire disc, including partition table … | |
![]() | Re: So, is this an example, or are you asking for help? |
Re: Please be more specific about what hardware you have, and what your problem is - dropping connections in remote locations? Or what? | |
Re: This causes the compiler to read the header file stdio.h which declares and/or defines a number of symbols and functions such as NULL, printf(), stdout, stdin, stderr, etc. These are necessary for general I/O (input/output) actions that all programs need to perform. On Linux/Unix and similar systems, this file is … | |
Re: You write the code. We help you debug it. No cheating here! For whatever it's worth (FWIW), I always use the formula `%C = (%F-32)x(5/9)` or the inverse, `%F = (%Cx(9/5))+32`. Why bother with approximations? What is the purpose of inexactitude for this? | |
![]() | Re: There may be some data in the keyboard buffer that has not been consumed when the loop is called. You might try flushing the input buffer first. What version of Java are you using? Also, what is the actual class you are using for keyboard input. There is no keyboard … |
Re: Stack - you have a hole, and put things in it that are approximately the same diameter as the hole. IE, LIFO. Queue - you have some beads and a string. You put one bead on one end, and take one off of the other. IE: FIFO. Clear yet? | |
Re: They are pretty clearly written and self-explanatory. Read them again, perhaps 2 or 3 times. /etc/fstab is the file that contains instructions for the kernel to mount file systems when the system is booted. The grub config file is another kettle of fish entirely, and not related to /etc/fstab. How … | |
Re: From the Wikipedia: > n number theory, a perfect number is a positive integer that is equal to the sum of its proper positive divisors, that is, the sum of its positive divisors excluding the number itself (also known as its aliquot sum). Equivalently, a perfect number is a number … | |
Re: Typically, such utilities are either inexpensive (under $2USD) or free (advertising supported). Most developers will offer both options. Some of us will put up with a banner adv. at the bottom of the screen to get the app for free, and others of us will not and prefer to pay … | |
Re: If you purchased this from Dell, then contact them for warranty service. I think that probably the LED backlighting is faulty. | |
Re: On a standard partition table, you can only have 4 primary partitions. When people may need to have more than 4, then they make at least one an extended partition, which is kind of like another partition table, where you can create more partitions. Windows operating system bootloaders have to … | |
Re: 1. 2yy == yank the current and next line into a save buffer. You can then insert them with '2p' somewhere else. 2. :2 == goto line 2 of the file. 3. p == insert first line in save buffer (see #1 above) just below the current line. | |
![]() | Re: Where I work (at a software division of a major cell-phone manufacturer) all engineering workstations are now laptops. These are all dual or quad-core 3+GHz i7 processor systems w/ 8GB of RAM, WiFi (a/b/g/n), bluetooth, CD/DVD recorder, 320GB HD, eSata port, USB 2.0 and 3.0, HDMI and VGA video output, … |
Re: What operating system are you using? If Linux (or Cygwin on Windows) you can use netcat (the nc command) to send/receive data. If just reading, then you can use wget. | |
Re: I don't see where you are declaring / defining the variable 'index', which is used as the terminator for the two loops on the lines in question. My guess is that it is defined elsewhere (in some header or other) as a pointer... | |
Re: If you are running on Windows and don't want to install Cygwin to get the GCC compiler directly, you can use MingW, which is an open source GCC implementation for native Windows applications. When it came out, TurboC/C++ was the bee's knees, but it is sorely dated now and not … | |
Re: Scheme is a dialect of Lisp, so you might want to look for Lisp/CommonLisp tutorials on the web. I haven't used it for many, many years. The last time was probably when I needed to tweak some Emacs macros. The GNU project has a Common Lisp implementation (Gnu Common Lisp) … | |
Re: Not quite. You need to call the ofstream constructor with the name, which can be a variable. Here is the ofstream() constructor's signature: ofstream ( const char * filename, ios_base::openmode mode = ios_base::out ); So, as long as you construct the stream with a `const char*` file name, you are … | |
Re: Have you tried to model this mathematically? That's where I would start. | |
Re: You first need to think carefully and thoroughly about the problem you are trying to solve. Myself, I find that UML modelling techniques are useful, especially for more complex problems. For general system overview, use-case diagrams help constrain the problem domain. For structural issues, how things are connected/related, class diagrams … | |
Re: typedef struct room { int size; /* square feet/meters */ int numClosets; int numWindows; char purpose[20]; /* Such as "bedroom", "kitchen", etc. */ } room_t; typedef struct house { int size; int numRooms; room_t* rooms; } house_t; | |
Re: Good suggestion Mike! I'd just make one alteration in your showMessageDialog() text, to JOptionPane.showMessageDialog(null, "Not good at following instructions?" + "\nI said enter a number between 1 and 10 bonehead!"); :-) | |
Re: To replace the main board on a Dell laptp, you first need to remove the battery, RAM (accessible via a port on the bottom of the system), CD/DVD drive, HDD (hard drive), top cover/bezel, keyboard, and various other bits and pieces. You may need a special tool to safely remove … | |
Re: This is the problem: void Logger::CloseLogFile(const std::string& prefix) { delete file_map[prefix]; } You delete the entry in file_map, but do not remove it from the map, so it is still in use, but not valid - crashing the next time something tries to access it. | |
Re: As AD says, "What do you want from us?" - you just say you want help, but with what? For whatever it's worth (FWIW), date manipulation classes should use Julian dates (integral or floating-point numbers representing the date/date+time - no years, months, days). Then, date arithmetic is simple, and the … | |
Re: Your best bet is to sort the array (qsort() is good). Then it is easy to find duplicates since they will have to be adjacent to each other. IE (after sorting): int lastfound = INT_MAX; for (int i = 0; i < arraysize; i++) { if (array[i] != lastfound) { … | |
Re: As Bob said, look in splitzer.h for the cause of this error. That is the only possibility as the cause of these errors. | |
Re: As far as I can tell from my friend Google, this is what you need to do. In the file dhcp.conf (somewhere under /etc) you need to do this (or something like it): ------------------------------ CUT HERE ------------------------------ option domain-name "your.domain"; option option-242 code 242 = string; ddns-update-style none; default-lease-time 14400; … | |
Re: There is a lot of stuff you are doing that has not been defined, such as the Info member/variable, the Pixel class, etc. Without that, debugging this is impossible. Also, have you built this application for debugging, and then run it in the debugger so you can see what is … | |
Re: Assuming this is ALL of the code, you are compiling a component of a program, but it has no main() function. Add a -c flag to the compile CFLAGS (directives). That will generate a .o (Linux/Unix) or .obj (Windows/DOS) file which can be linked to other object files to make … | |
Re: Inheritance: you get all of your parents' characteristics (attributes and behaviors), yet you can add to, remove, or modify them (esp. behaviors). | |
Re: Sort-of Pseudo-Code: 1. Find position of character in string. 2. Copy from position+1 to end of string to position (ie, move up remainder 1 character). 3. Terminate string (if necessary). 4. Done. | |
Re: I would consider that a serious invasion of privacy! Find something that does not impinge on the user's right to privacy, at least without their EXPLICIT agreement to let you do so! IE, an opt-in vs. an opt-out policy. What you propose is reasonably, but invasive. You need, in such … | |
Re: Really, you need to disassemble the phone as much as possible, and then use something like blow-dry (a volatile solvent that adsorbs water, and then evaporates quickly with the propellent it comes in, taking the water with it). Then, let the system sit open and disassembled in a warm, dry … | |
Re: I wave magic wand, and BINGO! Problem solved! :-) goto WaltP; | |
Re: ryantroop's advice is good. There are a LOT of open source Java projects out there that you can start working with - first to learn how "experts" work with the language, and then to contribute yourself to the project. For whatever it's worth, a lot of the Apache code base … | |
Re: Contact Dell for a replacement, and insist that they also send you an installation disc so you can reinstall the OS if this happens again. | |
Re: What JorgeM said. In addition, a lot of external actors can affect this. We were having serious internet access problems the other day due to a failure of GoDaddy.com, the domain registrar for a major portion of systems on the Internet. Our company is one of the largest corporations in … | |
Re: Reminds me of cyphers I wrote back in the mid-1980's before I was comfortable with public-key encryption using large prime factors. Then I went and wrote a serious prime factorization tool so I could generate/decode Goedel numbers for radom strings... :-) | |
Re: As usual, mike_2000_17 gives awesome advice! :-) Mike, you have a LOT more patience than I do! |
The End.