rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. After re-reading the post I see that you have tried different WiFi access points and routers, with the same problem. That makes me think it is because of interference with another access point. Try changing the channel that the router/AP uses. The default is channel 6. Reconfigure the router/AP to use something like 2 or 11 and see what happens.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please post code inside code blocks with proper indentation of branches and loops so we can read it easier. Thanks.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok, so post the output of lsusb --verbose. That will give us as much information as the hardware probe will provide.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. I assume this device is connected via a USB port? If so, go to the command line and execute the command "lsusb". Report the output back here. We need to see if this device has support in the kernel before we go any further. If the device is connected via a PCI, PCMCI, or other bus slot (other than USB), the the command would be "lspci".

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Can you say which are specific Driver for Windows 7?

Not really. I am a Linux user. However, you might start by looking on the MS and the device manufacturer's web sites.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In reality, there is no difference between server and desktop Linux versions, other than the packages that are installed by default and whether or not a GUI is installed. You can easily configure a desktop version to handle whatever server duties you need, and vice-versa.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Create a dynamic array in C.

Or write a doubly-linked-list library and a main program that will read a text file and add each line in the file to the list, allowing you to write it back to disc in reverse order.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think the conversion of the decimal to comma is because your system is using the wrong locale, one that uses commas for decimal points.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You want us to do your homework? Not gonna happen dude! Make an effort to deal with it yourself first, and we will be happy to make suggestions and corrections.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The line for (R==2; R>N; R++) should be for (R=2; R<N; R++) , but that's the least of your problems... Anyway, here is the wikipedia article on the subject which may help you understand the problem better: http://en.wikipedia.org/wiki/Prime_factorization

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

i want to do a project in c programming.. what topic should i choose and what all should i include to make it look decent?

How many stars are in the sky, or grains of sand in the Sahara? These are the choices you have. Aside from that, do something relevant to your own personal interests. As for decent appearance, structure it cleanly, indent your code, rigorously use curly braces to delineate conditional blocks of code and loops, and DO NOT use goto statements.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

thats why i used the word Most in my post

Agreed! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

most motherboards are not worth the repair cost ,cheaper to replace it .

Well, if the failed part is simple (not an IC, but just a capacitor or resistor) and you have the equipment and skills, then it can be a lot cheaper to repair. Example: a client needs a mobo for his HP laptop. Replacement w/ exchange is almost $270 USD. If it were a simple cap replacement, the part would be a few bucks (including shipping), and it would take 5 minutes to R&R. However, if the part was an IC (more likely), then the likelihood of a reliable repair goes into the crapper and replacing the mobo is a better option.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The Fn key changes the state of the keyboard so that the next key that is pressed while the Fn key is held down will generate a different scan code than it would without the Fn key. Look at it as an alternate Ctrl or Alt key.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most modern boards are wave soldered, and are heat sensitive. Repairing them (removing, replacing soldered components) requires skill (experience) and specialized soldering tools. It can be done, but not usually by an inexperienced technician. Example - an on-board capacitor has failed and needs to be replaced. Finding the proper replacement part is usually not difficult, but replacing it is not so easy. It takes practice, and as I said, requires the proper soldering tools to do this.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most XP drivers will not work with Win7. You need a Win7-specific driver for your device(s).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

1) Server Linux usually does not have the X-Windows GUI installed
2) Server Linux usually has services installed that desktop does not need

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Boot up Linux with the live CD/DVD. Go to the command line and execute the command (as root): fdisk -l
Report the output back here.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Assuming you want to use the modem for a phone internet connection, you need to configure the PPP (point-to-point protocol) tool so it can dial out and make the connection. It's not hard, but it is not automatically configured when you install the system. It needs to know what phone # to call, baud rate of the modem, etc.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Fedora, Ubuntu, Mint (based on Ubuntu) are all good. I have heard good things about Mint being very newbie-friendly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try to find another communication application that allows you to use the LPT port if you cannot configure the default comm program to do this. That said, you might be able to create an alias to point LPTx to COMx. Since I haven't had to do this, I'm not sure how it could be accomplished.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As others have said, you need to reconfigure your router. Usually this is a web page, but you will likely need the admin user id and password to change anything on the router.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You will likely need to install a Windows VM and compile the code there, or possibly install a Windows compiler on the Mac using Wine and build it with that. Personally, I have a real issue with CS programs that require Windows software for the class. Basically, it is a violation (IMHO) of common sense and scientific reasoning. AFAIC (as far as I'm concerned), unless the class is MS-specific, then it should allow / require the use of open source software.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You've been pwnd. If it cannot be uninstalled, or your virus scanner cannot remove it, then you will have to either uninstall it manually (remove files and remove entries from registry), or re-image your system. Good luck!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You either have the modem connected to the wrong port on the router (it needs to be connected to the WAN port), or the cable is the wrong sort (cross-over vs. not cross-over), or the router is fubar.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is likely that some component is either overheating or is starting to fail as it warms up. That you could run the system for 40 minutes after cleaning it out is a good sign that this is happening. Is it the power supply, or other component? Well, as caperjack suggested, replacing the power supply with a known good one of equivalent specs is a reasonable place to start. If that doesn't work, then it is likely that your motherboard (or some component on it) is failing. This is often the RAM. Myself, I run a version of Linux that has good thermal monitoring software that tracks the temperature of the CPU and RAM in real time. When I do something like rebuild the kernel that sucks up a lot of CPU and RAM resources, the temperature of both CPU and RAM increase quite dramatically. I had a failing (due to overheating) RAM simm that this was able to help me diagnose.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, I am officially out of ideas now... :-( I hope you sort this out. Please post your solution if you find one - it will help others with similar problems in the future. Thx.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Since resetting the RAM sticks solved the problem for awhile, I would suspect that your system RAM is overheating. I had a similar problem on my system last year. Fortunately, I only had 1/2 of the available sockets populated, and changing the simms to use every other slot (leaving a slot between each) allowed the heat to dissipate better, solving the overheating problem without replacing the simms.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, since the problem appears to affect only one computer-to-computer connection, and it seems to think that there is a login server (AD) problem, check to see if there may be a connection issue to Active Directory from the A system that is taking so long to connect with. Perhaps some configuration change with AD was made when this problem started happening, such as a system name change that did not get propagated to AD or the system in question. At this point, guessing is as good as we can get, I think.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, without full information, we have to ask these questions. I assume you are using a single sign-on for your network, such as Active Directory, correct?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is still possible that two machines on the network have been given the same IP address by mistake. You should check that out. Again, a problem I have seen in the past, even on so-called "secure" networks. People do make mistakes like that at times...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I have not tried booting to a usb, although I doubt I will be able to. The bios and such do not show up at all.

Then I suspect you have a hardware problem. Time to take it to the shop for diagnosis and repair.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

My guess is that the Test->checkHotspot(1) argument to mousewithin() is returning a null pointer.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I was going to take it, but I don't have enough time this fall to do it properly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

1. For C++, use endl manipulator instead of \n for newlines.
2. The shutdown command has to run as root.
3. There is no loop here, so it should not start over, unless you named your program "shutdown"...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please be more clear. Are you trying to turn your laptop into a WiFi sniffer?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To add to what caperjack said:

1. Dropping a drive and/or system is not a good thing! Impact with the floor can generate 100's of G's of force on the drive. Some newer drives have sensors that detect when the drive/system is dropped and will park the read/write heads to protect the drive. Not all, however, do that. IE, your drive is probably fubar and will need to be replaced. Data recovery may be possible, but difficult. Services that will disassemble the drive (need to have a clean room environment to do that), and use specialized equipment to read the data from the drive, are available, but pricey. It could cost you up to $2000USD to recover your data that way...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As per caperjack, blow (or preferably vacuum) the dust out of the system, let it cool down, and try again. If you still get the "no signal" message, then your video card may be fubar.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Can you boot into the BIOS, recovery partition, or diagnostics? What about booting to a USB drive or CD/DVD disc?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Besides the DNS settings, also check the IP address of the problem machine. It may be conflicting with another system on the network. Assuming you allow laptops or other devices to connect, this is not an uncommon problem if these "guests" are using a static address by mistake.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

For industrial strength RTOS, open source is not really available. There are RT extensions to Linux, but they are still not hard real time systems. For deterministic real-time systems, there are a limited number of operating systems, and QNX (currently owned by RIM) is probably the pre-eminent one that runs on most every current processor, ranging from x86 to ARM. Take a look at www.qnx.com for more information. FWIW, I have been a QNX user/developer since 1982 and have used it to develop real-time industrial applications since then, some of which are used by the US Navy, major semiconductor manufacturers, and most of the major automotive manufactureres.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This may be useful: http://www.arglist.com/regex

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

My personal preference is QNX, although VXworks is widely used.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is in the VirtualBox setup screen. Select your VM, click on the System entry, and then select the Motherboard tab. One of the "Extended Features" check boxes should be "Enable EFI (special OSes only)".

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, VBox allows you to set it to use a standard BIOS or UEFI. How is your VM configured? You need to go to the System->Motherboard settings and enable EFI.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This sounds like the wireless components of the router (I assume the WiFi access point is built into the router) are starting to fail. Not that uncommon a problem, actually. Have your ISP replace the router.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Actually matrix B has 3 rows. Actually consider it dimensionally as x, y, and z. So matrix A has 2 dimensions x (3 values), and y (2 values per dimension x), and matrix B has 1 dimension (x). So, the product matrix C is 2 dimensional. So C(X) = A(X) * B(X), and C(Y) = A(Y) * B(X).

Or more simply, using a C language structure

int A[3][2], B[3], C[3][2];
for (int i = 0; i < 3; i++)
{
   for (int j = 0; j < 2; j++)
   {
      C[i][j] = A[i][j] * B[i];
   }
}

So, matrix C should =
[ 1 -1
0 0
6 -6 ]

In any case, check out this article for a more rigorous treatment: http://en.wikipedia.org/wiki/Matrix_multiplication

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Ok. Apparently Win8 at this point (the preview versions) don't require secure UEFI since no hardware supports it as yet. However, it may well require UEFI instead of the old PC BIOS. If that is an installation option for your VMM, then try that, or try a VMM that supports UEFI, such as VirtualBox.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I assume you have some sort of book or manual for this class. I assume this is all covered there. I will help with the first, LAN

LAN (Local Area Network): a network that is typically limited in geography to a single building or campus, and size in number of nodes (computers). Typical LAN standards include 802.3 (Ethernet), 802.11 (Wireless Ethernet), 802.5 (Token Ring), and ARCNet.

You can do some Google searching (wikipedia has some good articles) to finish the question about the topologies and protocols for the standards listed above, and to answer the others.

So, please don't ask us to do your homework for you. That's how you learn - more from what you do than what you hear (or not hear) in class.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I read recently that Win8 requires a secure UEFI (bios) to boot. If the VM doesn't emulate that, then you are out of luck most likely. The latest versions of some virtual machine managers may support that. VirtualBox does support UEFI, but I'm not sure about secure UEFI.