5,331 Posted Topics
Re: Homework assignment? | |
Re: Since your other phones are still working with the access point of the router, I would still suspect the phone. This may be a software problem. Try this: 1. Delete the connection to the d-link on the phone, and turn off the WiFi. 2. Shut the phone down entirely, and … | |
Re: So, what goes wrong? The main problem I see is your outer loop. You need to increment qq by 3, not 1, and the limit should be `qq < (SCREEN_WIDTH * 3)`, not `qq < SCREEN_WIDTH`. IE: `for (int qq = 0; qq < (SCREEN_WIDTH * 3); qq += 3)` … | |
Re: `assert()` is very useful (and commonly used) in debugging new code or unit testing code. You build it debuggable, run your tests, and if an assert (used for range/bounds checking, valid states and data, etc) triggers, then you can run the code in the debugger and see what is going … | |
![]() | Re: Recursion is when a function/method calls itself. This is common for binary search, fibbonacci routines, etc. It is very basic computer science and has nothing to do with Java per se. Read this: http://en.wikipedia.org/wiki/Recursion |
Re: You might try the open source AV tool ClamWin. Besides scanning files, it can also scan what is loaded into memory. | |
Re: And you are using Turbo-C because? It is old, outdated, non-standard, and definitely not complient with current standards. Stuff you write with Turbo-C won't work on anything but a Windows system - and I'm not sure about current Win7/8/8.1 systems either. All that aside, try this: #include <stdio.h> int main(void) … | |
Re: In your code here in main(): for(int i=0;i<n;i++) { g.addEdge(n1,n2); } Neither n1 nor n2 are initialized - they just contain garbage data from the stack. | |
Re: What OS? Did you go to the samsumg website to look for drivers for your device/OS? | |
Re: This is why I run Linux - no activations, registrations, other people pwning my system credentials... Rant finished. It is possible that either MS "lost" your registration/activiation, or someone (malware) has tried to activate a Windows system with your key (possible). What happens when you actually try to re-activate your … | |
Re: Sorry, but the terms of service for this site do not allow us to do your homework for you. Make an attempt to solve the problem, then post your code (or pseudo-code) here along with your results, and then we can help you sort things out. | |
Re: This is why we store backups offline. If they are connected to the computer, then corruption (accidental or deliberate) can occur. For my backups, I keep a bunch of 2TB hard drives that I can stick into an eSata docking bay, backup my stuff, unmount the drive, and take it … | |
Re: Some AP's provide an unsecured "guest" option, which is what I think is happening here. Make sure you are connecting to the secure ssid, and have used the correct passphrase with which you configured the AP. Best guess? If you use the wrong passphrase, or ssid, it will fall ack … | |
![]() | Re: If the file is already sorted, then just read it into memory and use bsearch() to find the item you need. You will need to write the compare() function that you pass to bsearch(). If the file is not sorted, then read it into memory and use qsort() to sort … |
Re: Once you have read the target word and written the replacement into the output file, you can read/write the rest of the source file into the output file, in chunks, for efficiency's sake. | |
Re: I would complain to Gateway - if a system fails hard like this one month after warranty, I think they should still service it, if only to replace it with a reconditioned unit, vs a new one. | |
Re: Flex is a lexical analyzer. I suppose you could use it to convert php to pdf, but why? It is a totally inappropriate tool for the job. Most programming editors that can handle php can also generate (write) pdf documents from that text. | |
Re: This is not a modem problem. It is a DNS problem. Take your modem back and get a refund. Verify that the TCP/IP settings are pointing at the Comcast DNS servers, and not your router (a common problem for this sort of issue). In most home/small office systems, your router … | |
Re: Have you updated the game to work with Win 8.1? It may need some new software/drivers/whatever to work properly. My best guess is that the igdkm64.sys is out-dated. | |
Re: Buy or burn a liveDVD copy of Linux to disc, boot, and learn. Alternatively, install VirtualBox on your Windows system, and install Unix or Linux to a virtual machine, boot, and learn! | |
Re: How is the drive connected? USB I presume? Have you tried rebooting the computer with the drive attached. That will often fix this issue. If you initialize the drive, you WILL lose all your data. | |
Re: Show us the structure of the inventory table. Use the SQL command "describe inventory" to get that data. | |
Re: It sounds like the system isn't restarting the backlight when coming out of hibernation. Did you talk with the techs? I'm sure there is some connection that was either not done, or not done properly that has to be used to trigger restarting the backlight. Since it works if you … | |
Re: Do you mean repeater (for the WiFi access point), or bridge (use the router as a switch/bridge and not do routing)? | |
Re: Most of these that have no slip-off access covers, or screws to remove the back, can be pried apart, but will probably require one of those plastic prying tools that can help do that without damaging the case. My Palm Pilot was such, as I recall. | |
Re: Excellent question! I'm going to need to do some thinking about this before I answer it better, though I'm not sure what this has to do with class factories. I wrote a generic class factory for C++ - create an instance of a class from a name or class id … | |
Re: You have changed the baseurl target to a local directory in /media. This is either incorrect, or the required data that should be there isn't. Why did you do this? Changing `enable = 0` to `enable = 1` isn't the issue here. | |
Re: Is /media/garrett/DX50/update.img an application that runs on your computer to import/remove files from the device, or is it on the device to do same? Or do you just copy your media files to some directory on the device? | |
Re: Well, I'm psychic and telepathic (in my dreams). The problem is he hasn't posted his code... :-) | |
Re: Most coding problems with PHP is that people don't use it as it was intended. They try to mix PHP and HTML (which you can do). It is an object-oriented language very similar to C++. Don't just output HTML. Embed it in strings constructed in the methods in your classes. … | |
Re: Study the PHP documentation: http://php.net/docs.php The reference docs are very useful. FWIW, use the mysqli classes and interfaces for MySQL access from PHP these days instead of the deprecated mysql apis. | |
| |
Re: Some settings are universal and others are personal. When as root you set up some GUI configurations, many of those are "global", so you get them as a normal user. As for your question "is there any way to ..um .. maybe use root's session without the previliges until password … | |
Re: It sounds like you are compiling something that has to talk directly to hardware, hence the firmware indication. Are you sure you have the appropriate hardware for this tool? Also, what is it supposed to do? | |
Re: It is failing. It isn't the display led's that are failing, but likely the underlying electronics such as capacitors or scan chips. Time to send it in for repair. FWIW, I have 2 Dell 24" (1920x1600) monitors that are 7 and 9 years old. So far, no problems with either … | |
Re: Forget this - need to re-analyze the original code. | |
Re: What operating system are you using? | |
Re: This is also the prime factorization problem - look it up. Every number is divisible by some number of primes. That's all the help you will get until you try solving the problem itself. FWIW, I did this "exercise" as a mental problem about 30 years ago. Another reference - … | |
Re: No. 1. Read a book. 2. Study code. 3. Write code. 4. See what works for you. Go back to 1. | |
Re: Ain't software great? You can use older versions of a compiler to write/build a new version of the same. You can use software that analyzes other software to analyze itself. Look up Ouroboros! :-) https://en.wikipedia.org/wiki/Ouroboros | |
Re: Have you tried removing, blowing out dust with compressed air, and then reseating the memory sticks? It may just be a matter of dirt causing bad connections between the memory SIMMs and the sockets. | |
Re: That is a problem if this is all of your code. Please be more complete... There is nothing regarding to opening the port, writing/reading data to/from it, etc. | |
Re: How are you pushing the data to the next page - via Posts or Gets? That's the key. You can call the same page in a form and either use POST or GET values (POST values are not visible in the URL) and then obtain their values in your code … | |
Re: PHP has deprecated the mysql apis in favor of the mysqli classes and apis. Try that instead. FWIW, what version of PHP are you using? ![]() | |
Re: This is when having a class to handle this cruft is called for. That way, you can deal with the new/delete cruft in the constructors/distructor and when you are done with the instance, just delete the class instance. IE, void 2darrayfunct(size_t height, size_t width) { 2darray array = 2darray(height, width); … | |
Re: What AD says. There are an infinite number of projects that you can write in C or C++. Something that may be useful are tools that can monitor system performance such as CPU usage, file system I/O rates, network usage, etc. That will also help you to learn about operating … | |
Re: So, what IS your problem. You seem to have determined that the row doesn't contain the "and clothes" term searched for, hence the lack of results. Please be more specific about what you are trying to accomplish. | |
Re: What Hiroshe said. Also, are you sure your Explorer settings aren't configured to create shortcuts for copies instead of real copies? So, how do you do these "copies". Finally, does the pen drive appear to use the actual space of these files, or something less? | |
Re: It probably isn't needed, but look in the add/remove applications tool to see if the system thinks it is installed. If so, use the tool to remove it, and then you can remove the directory. If the tool doesn't know about it, then first try renaming the directory (or moving … |
The End.