5,331 Posted Topics
Re: @Shol-R-Lea Well put! @Morganstevens Read Donald Knuth's seminal volume 3 of the "Art of Computer Programming, Sorting and Searching". I am considered an "expert" on database systems. Knuth volume 3 is where I learned the basics of the subject - that and the works of Codd and Date. | |
Re: @ravi_14 Good references. @inspire_all These are basic problems in concurrent programming systems. Read the text books your professor has assigned for your class. We don't do your homework for you. | |
Re: The easy way (single line) is to use the `char* strdup(const char* source)` function. | |
Re: Please be more clear. You want a program to use for training programmers? Or something else? | |
Re: Please show the code. Without that, it isn't possible to answer your question. The typical swap algorithm is this swap(type& var1, type& var2) { type tmp = var1; var1 = var2; var2 = tmp; } | |
Re: 1. You don't show what the problem is. 2. This would be better done with a `do {...} while (condition)` loop instead of your `while() {...}` loop. Example: (eliminating the priming read) do { System.out.print( "Enter an integer, or -1 to stop > " ); number = scan.nextInt( ); // … | |
Re: Try these Google (or better still, DuckDuckGo) search terms: javascript tree structures | |
Re: How was the image created? Did you use a dvd ripper that would remove the DRM and region codes? If not, then the image will remain unplayable since DVD DRM does weird stuff that is not translatable to an image file without code to remove the DVDCSS (DVD Content Scramble … | |
![]() | Re: Do you know Java? Android Dalvik is just Java, but with a different compiler and virtual machine. If you don't know how to write Java code, then you have some learning to do. If you already know C++ or PHP, then it will not be difficult. ![]() |
Re: You don't say what country you are in. It looks like a moderate Linux/Android fondle-slab (tablet). Not shabby, but not high-end either. Memory (RAM) is minimal (1GB), and internal memory storage is adequate (16GB), but you can add a 32GB SD card to complement that. It appears to be from … | |
Re: I would strongly recommend that you install LibreOffice instead of OpenOffice. It is much more up to date, and compatible with all OO files and file types. ![]() | |
Re: You would fail my class... :-( DO NOT fail to use curly-braces to delimit ALL conditional statements and loops. This is one of the biggest causes of system logic issues... Fix that, and I'll take another look at your code. | |
Re: Not sufficient information. When does it show this? When running? Or on boot-up POST (Power-On Self Test)? What specifically does it say? Have you recently tried to update the BIOS? | |
Re: Have you posted this to either the Adobe user forums or asked Adobe support about this? Those would be my first two steps to resolve this, or at least figure out what is going on. | |
Re: Sorry, but we don't do your homework for you. Make an effort, post the code, and we might help you figure out why it doesn't work... :-( | |
Re: Use a comm program like minicom, open a file on the remote system, and upload the file. If you just want to write it to the comm port, you can copy it directly to the port from a command line (cmd.exe): copy file com1: | |
Re: Right... Sorry. How long did you leave the device in a drawer until you needed it again? Or is it REALLY yours? Forgetting your phone unlock code (a 4-digit PIN) is something like forgetting to put your pants on before leaving for work - not really likely, popular jokes notwithstanding... … | |
Re: Alternatively, you may need to reconfigure your router/firewall to allow incoming connections via ports 5060 and 5061. There may be other ports that you need to open as well, but I'm not sure if you need them, for example SIP directory services (port 5059). | |
![]() | Re: Since it is FOSS (free, open source) it is doubtful any one acquired it. According to DistroWatch, it has been discontinued. It was a French fork of Ubuntu. My guess is that there was just not enough community behind it to keep it going. |
Here is a great article and video from the Free Software Foundation (FSF) about using FOSS (Free and Open Source Software) to do complex audio/video editing tasks: http://www.fsf.org/blogs/community/how-i-made-a-video-for-libreplanet-using-all-free-software | |
Re: I run a LOT of systems in virtual machines (thousands in the Amazon cloud for example), and we use ssh to connect to these systems. Note that the sshd service on the systems you want to connect with may either limit connections from known hosts, and/or require a private key … | |
Re: It used to be said that C++ is C with classes. In fact, early C++ compilers would simply generate C code and then compile that. Before C++ was generally available, I used to write C code much like what C++ compilers would generate at that time. Honestly, I much prefer … | |
![]() | Re: 1. Plugging the drive into another computer may infect that one also, especially if it is also running a Windows OS. 2. Yes, they may have your IP address, but if you are using DHCP, that will change when you reinstall the operating system. 3. Once infected, change all user … |
Re: I've always considered Java to be C++ with training wheels, garbage collection notwithstanding. As a matter of fact, Java's garbage collection (gc) is a major contributor to performance issues for Java applications that are long-running and serious resource users. I wrote a reference-counting gc for C++ back in the 1990's … | |
Re: It is simple enough to write your own function to do this. Pass in the password to the function, and have it generate a string of '*' characters of the same length that it returns. Call this function `string obfuscatePswd(const string& pswd)`. Then your code becomes this: `cout << obfuscatePswd(password) … | |
Re: There are two approaches to this sort of problem (I'm not going to get into details how to do it). One is an iterative computational process - slow when numbers get big. The other is a recursive algorithm where you start with a moderately sized array of the numbers and … | |
Re: If you have SELinux enabled then try this: setsebool -P samba_export_all_ro on | |
Re: This appears to be a system configuration problem. The file /mnt/repodata/repmod.xml is either not available, not readable, or not writeable. In any case, normally, it would not be in /mnt, so I expect that you did something to alter the configuration of yum that caused this. Since I don't find … | |
Re: Good luck! You are going to need it! There is a reason why they are called "dead"lines - if you miss them, you are dead... I think you have some serious grovelling to do at your professor's feet. | |
Re: There are a gazillion X11/postscript fonts, including arial. for Linux. You just need to install them. Look at your package manager to find them. Just because they aren't installed by default doesn't mean they aren't there or available to be downloaded as needed. There are also bitstream fonts as well. … ![]() | |
Re: Not much, is it? First, go to Wikipedia and read the article on prime numbers and the Sieve of Aristhostenes. We don't do your homework for you, and generating the prime numbers as specified in the SOW (statement of work) is the biggest part of this exercise. | |
| |
Re: Telecom companies that sell these devices often install applications that are not in the basic load from the device manufacturer. This is the most likely vector for such infections. Myself, I will NEVER purchase a phone directly from a phone company, but will purchase an unlocked one that I can … | |
Re: And your question is what? You are showing the assignment, but not your work... :-( | |
Re: You can change the power profile. It may be set on whatever serves for conserving battery. You can change that to a "balanced" profile, so that when the computer needs more CPU to run applications such as your games, it will speed up the processor. I think you can change … | |
Re: You need to disable the routing capability of the asus, and simply use it as a WiFi access point that is connected with the d-link. This may not be simple. Multiple routers in a LAN is possible, but difficult to set up and deal with. I have such a situation … | |
Re: How do you determine the end of the input for vector a? | |
Re: Time to do some web searching I think. These are well-known subjects and there is a lot of information out there, but in any case, you need to understand at least three subjects quite well. 1. Image processing. 2. Cryptography 3. Steganography. The last could be considered a branch of … | |
Re: What version of Windows are you using? | |
Re: Make an effort and post your code here. We don't do your homework for you. | |
Re: I assume you are not using an external power supply, but are depending upon the USB port to provide adequate power for the device? If so, that is not a good idea. On most computers only 1 or 2 ports have enough power for a hard drive. Try it with … | |
Re: An audio CD uses .WAV files and is of a specific format. You are basically creating a data CD with mp3 files I think. Get something like Alcohol 52% or Alcohol 120%. Alcohol 52 is free. Alcohol 120 is not. That is the best CD burner that I have found … | |
Re: Yes. No. You decide what interests you, design it, write it, get graded honestly on it... | |
Re: And your question is what? Sorry, but we don't do your homework for you. Just FYI: 1. There are 24 hours in a day. 2. There are 60 minutes in an hour. 3. There are 60 seconds in a minute. You get to do the math! :-) | |
Re: Consider Java as C++ with training wheels. Multiple inheritance - no. Interfaces - yes (consider them as pure virtual classes without any method implementation or constructor/destructor methods). The best way to learn Java if you already know C++ pretty well is to study existing code. | |
Re: Well, first of all you are missing some logic and a } for this line: `if (isset($_POST['Login'])){` BTW, what version of PHP are you running? | |
Re: So, understand what the various functions/processes need to do (RTFM), and then write out how you would, in simple words, how you would go about performing those processes - this is called "pseudo code". Then consider how you would do that in a C++ class-based environment where strings have their … | |
Re: Get it repaired? Either you have a hardware problem keeping the system from booting, or there is a software problem with the operating system. I would suggest trying to boot into the BIOS - hold down the F2 key when you power it up. If that doesn't work, then it … | |
Re: Please explain what you want to do with them, except whether or not you can put them both in 1 computer. The answer to that is "of course". One will be the system/boot drive. The other a data drive, unless you instruct the BIOS to boot from the second drive. | |
![]() | Re: So, what pattern does your code generate? |
The End.