5,331 Posted Topics
Re: A messenger? Please be explicit what you mean. This is a common term for message passing systems, such as Kafka. However, it may mean something else to you. | |
Re: Have you really analyzed the original qsort algorithm? Read Knuth's volume 3, Sorting and Searching? If you haven't adsorbed that, then you don't know what the fark you are doing! | |
Re: 1. Don't use C#. 2. See #1. 3. See #2... Snark aside, I don't use C# and .NET tools because MS can change the rules for them any time they want. | |
Re: Hiroshe has some great suggestions. Myself, of those I would suggest the low-power real-time OS (having worked with embedded real-time systems for 30+ years). Look at Thoth (the original research micro-kernel OS that QNX came from), QNX, and other such systems. FWIW, a micro-kernel approach with message-passing between the kernel … | |
Re: There are many for audio and video. They range from co-ax audio connectors to hdmi and lightning connectors for audio and video, and a plethora of stuff in between including midi connectors for things like piano keyboards, etc. | |
Re: More information than a simple "Permission Denied" would be helpful. I don't know if this will help... http://ocxocx.com/ocx/ Unfortunately, I don't know much about this (OLE Controls) as I try to keep as far from MS application development as possible these days - it just irritates the heck out of … | |
Re: What Ene said. We don't do your homework for you. Post code, errors, and problems. Then we may help you. | |
Re: 1. We don't do your homework for you. 2. See #1 3. See #2 . . . Post your work, errors, problems, etc and we may be able to help. | |
Re: This entire block is bad: for(num=0;;) { a=getch(); if((a>='a' && a<='z')||(a>='A' && a<='Z')||(a>='1' && a<='9')) { ph[num]=a; cout<<"*"; ++num; } if(a=='\r') { ph[num]='\0'; break; } } if(pass=='input') { cout<<"PASSWORD ACCEPTED"<<endl; } if(pass=='else') { cout<<"Login rejected"<<endl; } At the least, you are not terminating when the password is rejected, but are … | |
Re: Look at ClamAV (ClamWin for Windows). It is an open source A/V program so you can look at the source, learn from it, and adapt it to your needs. It is used by a lot of A/V appliances for networks. | |
Re: Telnet is insecure. Most servers have disabled it so you probably cannot access them with it. Try ssh instead. | |
Re: What do you mean by "duplicates itself automatically"? A description of the files/folders it creates would be helpful. Also, what A/V programs have you used to try and remove this "infection". | |
Re: Most VM's cannot access hardware directly except through the host OS, although this is not necessarily true if you are using hardware level virtualization such as kvm, and all operating systems are running virtually. Then I think you can expose different hardware devices such as this to each operating system … | |
Re: If you are running 64-bit firefox, you need the 64-bit flash player, and vice versa with 32-bit versions. I don't have any problem with flash on my system running 64-bit Firefox 38.0. I am running the flash-plugin.x86_64 v.11.2.202.460 (latest from Adobe for RHEL 6.x systems). | |
Re: What Moschops said. You need to use the appropriate -L <library-dir> and -l <lib-name> in your linker variable LDFLAGS in your Makefile. FWIW, my wife uses the boost libraries all the time on both Linux and Mac systems without problems. Do read the make man pages. | |
Re: There is this search engine called Google that can help you find out this sort of information, and in depth... | |
Re: Most WiFi networks are secured. Are you sure you are using the correct passphrase or password? FWIW, if a WiFi access point (AP) is using WEP, then you may need the entire 48 hex-digit key and not a passphrase. If WPA, then a passphrase should work. I have an android … | |
Re: Sorry, but we don't do your homework for you. FWIW, the actual formula is ((9/5)*C) + 32. Make sure you get your parens correct! | |
Re: Sorry, but we don't do your homework for you. Make an effort, show your code, describe your errors, and then we may help you. | |
Re: What browser are you using, and which version/build of Android is it running? | |
Re: What ddanbe is trying to say, is that you need to show ALL of your code. | |
Re: You need a number of tools for this, including a harness that will provide a load similar to what the system would generate. In addition, you need diagnostic tools such as a volt-ohm-ampmeter and possibly a scope. Not a job for the inexperienced or the ill-prepared. | |
Re: This is not adequate. Please provide all of your relevant code, variable definitions, etc. | |
Re: Look at your power profile. It is likely that the system is set to turn off or hibernate if the lid is closed, or there is no input, for some period of time. These parameters can be adjusted, so when you are plugged into wall power it won't shut off, … | |
Re: Actually, in C++, you can use C functions, or C++ stream functions, including doing things like turning off echo in input streams, so you can do the mapping of input characters to things like '*'. The program can still get the real data and process it appropriately. | |
Re: Well, I don't think you are writing to cr. You create it, and then close it, but nothing is written to it. | |
Re: In truth, this isn't a C++ issue. It is a Visual Studio issue. Ok, I may be nit-picking now, but this ISN'T a C++ problem! | |
Re: Also, don't bother writing your own sorting and searching functions - chances are you will get them wrong! Use qsort() and bsearch() instead. These are standard C functions (usable in C++ as well), or if you have to use C++ classes/methods, then things like maps that automatically sort elements are … | |
![]() | Re: RTFM? What package? Where is the documentation for it? What is "ForeignKey" supposed to refer to? IE, until you produce your code, we can't help you very much. Also, we don't do your homework for you. ![]() |
Re: It depends upon the system. Linux can handle timing in the nanosecond realm. You need to run both algorithms many times, accumulate the time, and then compare. Just comparing on one run that may only take nano, micro, or milliseconds is not sufficient since other stuff is also taking system … | |
Re: As usual, Moschops hits the nail on the head! | |
Re: Stupid Python indentation rules! One of the many reasons I despise the language! Personally, I think the authors of the language took their Monty Python analogies way too far! Not to mention that they were too lazy to input a couple of squiggly braces to scope stuff. Who knows. Maybe … | |
Re: Just remember that PHP is a true object-oriented language. Use it appropriately. I posted an article about how to best utilize it here. You can find it here: | |
Re: What Schol-R-LEA said, plus asking people to analyize almost 1500 lines of code is insulting! Narrow your code example down to where you are having a problem. If you don't know, then it is time to start using your debugger! | |
Re: Prolog! Prolog! Prolog! :-) Time for me to re-read Clocksin and Mellish. | |
Re: Aeonix's post was spot on, in my opinion. The core-M Intel processor family is designed for low-power mobile (hence the M designation) applications and devices. It is slower, smaller, and very good on minimizing power consumption. It is NOT intended for laptop and desktop/server situations, and should not be considered … | |
Re: So, is there a question here, or are you just telling us what we already know? And in a very simplified explanation... I have to assume you just finished a course in operating systems. Feel confident to explain how schedulers work? Real-time systems (hard vs. soft)? What about interrupt priority … | |
Re: There are many for just about any operating system. What OS are you running, and where did you look? GNU has compilers for just about anything. | |
Re: There are issues with SSD's that most people are not aware of, such as the loss of data when the power is off for extended periods of time (recently reported information). A 7200 rpm drive will provide faster raw access speeds to data, but the overall speedup will depend upon … | |
Re: I never advise a software firewall, but a hardware one. Most personal LAN routers provide this service quite reasonably. Set your computers to use DHCP, or a local static IP address, and your router will use NAT (Network Address Translation) to map local->internet->local addresses. That way, unless you configure the … ![]() | |
Re: In the first example, you have allocated room for 5 characters, but you need 6 to include the string's terminating null byte. Also, you have specified that "Happy" is a wide character string, which requires 12 (2x6) to properly handle it. As for the difference between the two, you haven't … | |
Re: Where are you downloading from? | |
Re: First, we don't do your homework. Second, what don't you understand about the sequence? Read the program line by line and explain what it does. | |
Re: Simple. The number of grains on any square == (2 ^ square number) - 1. I leave the computation for the total number of grains on all squares up to the max as an exercise! :-) FWIW, this kind of reminds me of that old quip, "How many pounds are … | |
Re: Part of the problem with Mac systems is that the default user has admin privileges, much like Windows systems do by default, so malware can install software that can bypass other system security measures. This is not the case with most Linux systems unless the user, as root, alters the … | |
Re: @jwenting - I suspect the assignment was written 6 years ago, but they just got it assigned now. That said in their defense, I would reiterate Schol-R-LEA's comment... What have you tried so far? :-) | |
Re: 1. All of them. 2. See #1 Yes, PhP is programmed primarily in C++. Have you looked at the code? It is not trivial, and there are security issues there, I'm sure. I have delved into it to some extent in order to fix some HTTP bugs, and it wasn't … | |
Re: What CPU? Assembly language (machine instruction sets) vary greatly from CPU to CPU. Intel x86 instructions are very different from ARM, Mips, PowerPC, and other chip sets. | |
Re: There are no discs of that size, but some file systems can support that size of array or multi-disc volume, such as zfs which can handle file systems of 256 zetabytes, and single files of 16 exabytes. Currently, the biggest single disc I know of is about 4TB, but I … |
The End.