5,331 Posted Topics

Member Avatar for hefaz

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.

Member Avatar for JamesCherrill
-1
223
Member Avatar for nathan.pavlovsky

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!

Member Avatar for nathan.pavlovsky
0
526
Member Avatar for tobyITguy

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.

Member Avatar for tobyITguy
0
346
Member Avatar for tapananand

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 …

Member Avatar for q-_-p
0
524
Member Avatar for imaratheon

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.

Member Avatar for rubberman
-1
54
Member Avatar for Jamie_7

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 …

Member Avatar for hefaz
0
259
Member Avatar for andrewumoh

What Ene said. We don't do your homework for you. Post code, errors, and problems. Then we may help you.

Member Avatar for HiHe
-1
115
Member Avatar for lamlomeh

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.

Member Avatar for David W
0
148
Member Avatar for Asira18

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 …

Member Avatar for Asira18
0
397
Member Avatar for altjen

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.

Member Avatar for altjen
0
247
Member Avatar for Benita_1

Telnet is insecure. Most servers have disabled it so you probably cannot access them with it. Try ssh instead.

Member Avatar for Benita_1
0
219
Member Avatar for hefaz

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".

Member Avatar for XP78USER
0
252
Member Avatar for DeanMSands3

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 …

Member Avatar for CimmerianX
0
1K
Member Avatar for rosina12
Member Avatar for ralf.frix

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).

Member Avatar for rubberman
0
176
Member Avatar for cannon_1

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.

Member Avatar for rubberman
0
808
Member Avatar for m.rahman1

There is this search engine called Google that can help you find out this sort of information, and in depth...

Member Avatar for rubberman
-3
82
Member Avatar for m.rahman1

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 …

Member Avatar for rubberman
-1
173
Member Avatar for Toni_3

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!

Member Avatar for Slavi
1
204
Member Avatar for terence92

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.

Member Avatar for rubberman
0
153
Member Avatar for 68thorby68
Member Avatar for rubberman
0
267
Member Avatar for basit_3

What ddanbe is trying to say, is that you need to show ALL of your code.

Member Avatar for ddanbe
0
198
Member Avatar for Ritesh_4

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.

Member Avatar for rubberman
0
193
Member Avatar for Baalla

This is not adequate. Please provide all of your relevant code, variable definitions, etc.

Member Avatar for rubberman
0
277
Member Avatar for Sultan_3

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, …

Member Avatar for Sultan_3
0
202
Member Avatar for Asira18

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.

Member Avatar for David W
0
372
Member Avatar for Surajit_1

Well, I don't think you are writing to cr. You create it, and then close it, but nothing is written to it.

Member Avatar for rubberman
0
297
Member Avatar for aymenchouikh

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!

Member Avatar for ddanbe
0
412
Member Avatar for TObannion

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 …

Member Avatar for TObannion
0
261
Member Avatar for greenleafone7

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.

Member Avatar for greenleafone7
0
179
Member Avatar for Clearner123

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 …

Member Avatar for Mayukh_1
0
328
Member Avatar for newprogramming
Member Avatar for Felipe_1

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 …

Member Avatar for rubberman
0
796
Member Avatar for samyakonline01

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:

Member Avatar for vegaseat
-1
308
Member Avatar for Syed Ammar

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!

Member Avatar for rubberman
0
233
Member Avatar for Jack_11
Member Avatar for Schol-R-LEA
0
373
Member Avatar for Kamal_8

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 …

Member Avatar for Aeonix
0
193
Member Avatar for Anderson_2

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 …

Member Avatar for hastings.george.5
-1
200
Member Avatar for Fon_1

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.

Member Avatar for vegaseat
0
135
Member Avatar for JerrimePatient

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 …

Member Avatar for rubberman
0
165
Member Avatar for niceboy

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 …

Member Avatar for LCTech
0
229
Member Avatar for sang ku te buoi

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 …

Member Avatar for rubberman
0
105
Member Avatar for Braeley
Member Avatar for Ahmed_62

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.

Member Avatar for rubberman
0
113
Member Avatar for vegaseat

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 …

Member Avatar for vegaseat
2
8K
Member Avatar for happygeek

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 …

Member Avatar for MrWonderful1961
0
473
Member Avatar for Joseph_13

@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? :-)

Member Avatar for stultuske
0
796
Member Avatar for Aeonix

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 …

Member Avatar for ryantroop
1
258
Member Avatar for ngodzahbee.seremwe

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.

Member Avatar for rubberman
0
49
Member Avatar for Aeonix

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 …

Member Avatar for rubberman
0
313

The End.