5,331 Posted Topics
Re: Just remember, the Internet forgets nothing! If this person is not willing to remove your posts from his computer (remember, they are also likely on other users' systems, not to mention backup devices for the company), then you know what kind of "friend" and/or "mentor" he really is. So, give … | |
Re: What is the OS (and version) you are running? What is the make/model of the sound card? In any case, I'd send the card back and get one more main-stream. 5.1 sound cards are easy to get, and not too expensive these days. | |
Re: Show your code for index.php and at least one of the other files. | |
Re: How do you think you could do it? If you understand the capabilities of the module, then try some experimentation and don't steal from the experts until you have some understanding of what you are doing. | |
![]() | Re: More complex == more comments. If you come back to the code in 6 months and wonder what the fark you were doing, then it wasn't commented well enough! |
Re: C and C++ programming are not easy to learn well - it takes time, study, and practice. | |
Re: School work? Or otherwise? Why VB 6.0? | |
Re: You may be able to recover it, but most likely not without a lot of effort. Search the web for Mac data recovery software. There are tools for Windows and Linux as well. In the deep, dark past, I have had to personally resort to physically searching disc sectors for … | |
Re: BR discs can be played on DVD drives, if not in as high a resolution (720p is maximum for DVDs). DO NOT purchase BR drives or discs! They are seriously DRM-encumbered and will likely not run in the future! Also, each such purchases puts $$ in Sony's pocket, who has … | |
Re: It may help to show your list structures as well. Also, this is very clumsy code and prone to logic errors. In addition, your lack of appropriate scoping (bracing) of your logic means that the return values are not what you think. Example, this code: if (t->data == d) cout … | |
![]() | Re: If the device has Linux driver support, this should not be difficult, and most Linux GUI's should support it. If not, then you have some serious coding (interrupt handlers and such) to do. I wrote some of the first code to teach developers how to interface to touch pads in … |
Re: Sorry, but we don't do your homework for you. Make an honest attempt, and if we decide to we may help you see the "errors" of your ways! :-) Good luck. FWIW, this is an elementary queuing problem. Study up on that for a bit first. | |
Re: This is a procedural problem. Think about how you would solve the conundrum. There are a couple of options: 1. Before appending a file to the data set, forward to the last line and remove it. 2. After appending a file to the data set, forward to the last line … | |
Re: You are not providing enough information. How are you updating the system, via the standard Windows Update program? Via AMD GPU updates? What errors do you get? | |
Re: Since these systems are both behind your router/firewall, don't bother with SSH but enable telnet and FTP. SSH will require in some cases that your client is registered with the host account (login ID) that you are using, with its public key. Your client needs to use the private key … | |
![]() | Re: That's kind of like starting out trying to do PhD research when you don't even have a high-school education in the subject... Not going to work. |
Re: C++11 adds a lot of cruft to the older versions of C++ that will leave newbies' brains in a fog. In any case, C++ works with C code just fine. Learn basic C++ and utilize exceptions to handle errors. Use C in your C++ code when you need to get … | |
Re: You can use the command "stty -a" and parse out the number of columns. Example, in my command-line window stty -a shows this: speed 38400 baud; rows 50; columns 132; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = … | |
Re: I like a good multi-window, multi-tab, language-sensitive editor such as nedit and make. I find that an IDE just slows me down. | |
Re: KVM sits right on top of the hardware, so it is much more efficient than VirtualBox or VMware, et al. However, it is not really intended for personal type of use and is not simple to configure properly or for ease of use. I have successfully used VirtualBox on all … | |
Re: If C, then use quicksort. If C++, then std::sort works, but quicksort is also good, and efficient. | |
Re: The use of abstraction is that you can create an abstract base class with all the functions you need for derived concrete classes of that type, so that you only need a pointer or reference to the base class in order to do useful stuff. I used these extensively in … | |
Re: There are a number of issues with your post, starting with initializing member variables inside the body of the constructor instead of in the initializer list. Try, try again! | |
Re: You might want to check out Python as well. | |
Re: Class/homework? Sorry. That is why you are in school, to learn how to do this stuff. If you are clueless and have no documentation how to do this, go see your professor. | |
Re: The "./" means "use the current directory where your application is running". The dot is the current directory. If it was "../" it would point to the directory above where you are. If it was "~/" then it would point to your home directory. | |
Re: XOR'g with what? A key? If you used a key to XOR your data, then using the same key in the same order to XOR the encrypted data should result in the original plain text. This is cryptography 0.001. And what is the cruft about primes? Describe your algorithm and … | |
Re: Unless you are running a REALLY old computer a 4MB page table can easly fit in contiguous memory, and most modern operating systems will reserve such on boot. | |
| |
Re: Parameters encoded in the URL are called GET variables. These are easily accessible in your PHP code. There are also POST variables that are not in the URL, hence hidden from simple investigation. These are also easily accessible in your PHP code. Go to the php documentation at the php.net … | |
Re: @HiHe I'm not downvoting you for your response, but specifying a particular IDE (even if you really like it) is not conducive to fixing the problem. Standard compiler and makefile error output will usually be satisfactory. Also, the IDE is often system specific, especially if the user is running on … | |
Re: Static functions are class-specific. You can declare/define functions with the same signature for other classes, but static functions either have to be accessed with classname::functionname() if accessed outside of the class, or simply functionname() if inside the class. They are NOT inherited by sub-classes. So, overriding them doesn't work like … | |
Re: It may be that the StreamWriter class is buffering the output data and won't write the remainder until you close or flush the stream. | |
Re: There are not BIOS rootkits per se - the BIOS is read-only memory. However, there is a flash chip that holds the current BIOS settings, and that CAN become rootkit infected. This is a favorite tool for agencies such as the NSA and other sophisticated hackers. Even if you wipe … | |
Re: @Moschops I think that CImg would still be considered a "library" for purposes of this student's exercise. @ameer I think that displaying a png image would be your best bet as it is open source and structure is well documented. You will need to do some research and determine how … | |
Re: Do some research on the layout of Corel images. Are they raw? Gifs? Jpegs? Something proprietary? Also, how many bits are represented by each pixel? The format of gif and jpeg images are well documented. Raw images are usually laid out in an array and rectangular images are quite easy … | |
Re: Create a structure to hold the data. The numeric data can be in an array that is part of the structure. Then you assign the structure as the data part of your linked list. There are singly linked lists (each node has a pointer to the next node) and doubly … ![]() | |
Re: To quote the Beatles, "Help, I need somebody! Help! Help! Help! Help!"... As ddanbe asked, with what? | |
Re: 60MBps == 480mbps, more or less. Most hard drives cannot sustain more than that, interface speed notwithstanding. For small files, the speed may be greater, until the drive's write buffer is filled. Then it will fall back to the maximum throughput that the physical drive can handle. You may see … | |
Re: Visual Stupido - please, just hit me on the head with a brick! There are MUCH better IDE's for Linux and Unix if you need. Even a good editor and Make are (in my mind) preferable! | |
Re: There are also 64bit ARM chips (lower power - not so commonly found), as well as Intel-compatible AMD chips similar in capability to those that SteveDotNet mentioned. ARM chips are commonly used in cell phones and tablets. They are just getting into use for servers. | |
Re: They are both 5 volts. One will provide a higher current, hence shorter charge time, than the other. The only thing you need to verify is what the maximum charge rate (amperage) is that your device supports. The 1Amp rate should be safe for everything. The 2.1Amp rate may not … | |
Re: This isn't really C++ (object oriented) code. What are your classes? What are the member variables they contain? What are the methods to get/set their data values? It is time you went back to the text book... | |
Re: Some current malware installs itself in the flash used by the BIOS, and it will re-install itself as soon as you boot and try to install a new OS. The only solution is to wipe the flash memory (some systems allow you to do that by removing the battery and … | |
Re: @pritaeas Myself, I prefer more bigger screens! :-) I have dual 24" 1920x1200 displays that I use with both Linux and Windows, using a KVM switch to move from one OS to the other. Windows runs on a company laptop. Linux runs on my 8 core Intel box. | |
Re: You might want to verify that all the RAM is being used. Some modern motherboards will disable a stick of RAM that is failing. Usually, it will require that the stick in slot 0 (the first slot) is healthy, and map out others if necessary. So, it is possible that … | |
Re: Yes. And your question is? What have you tried? If you right-click on the image, it should provide a URL to the image. What did you do with that? | |
Re: The remote user's ip address has to be registered in the ~/.ssh/known_hosts database. You might want to review the ssh man pages for better understanding of what is needed for remote connection with ssh keys. | |
Re: Either the video card or monitor are fubar, or your cable is defective. If the monitor can give you access to the on-screen menus and such, then the monitor itself is ok, though there is a small possibility that its input interface is bad. However, it is much more likely … |
The End.