rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You are not initializing your variables to known "good" values, so they contain "garbage" (whatever was in memory at that location) until you specifically set them. In this case, the integer 'b' is being tested after checking 'a' in this line: a%2 == 1 with the code if(b==1&&square[1]=='1'), yet if a%2 != 1 then it was never set, resulting in your problem.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What JorgeM said, although it can also be a simple matter of the LCD backlight being defective. If it is the backlight, sometimes you can see very dim images if you look at the display from an oblique angle with a light shining on it (sometimes better if the light is shining from the side).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

First, try cleaning the drive - get a CD/DVD cleaning disc - and see if that helps. If not, replace the drive. It is either a dirty lense / laser emitter, or it the lense / emitter is out of alignment. If the latter, there is nothing you can do other than replace the drive. I have had similar problems in the past that the cleaning disc would fix.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is either you video hardware, or the monitor hardware itself. When the system turns on, the video card reinitializes the monitor to a known state. It does this by sending it special code/signals. From your description, I think your monitor has a problem. Get it fixed.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please do not ask people to do your school work for you! First of all, it is cheating. Second, it is unethical. Third, it is theft (taking credit for someone else's work).

Finally, what program?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What command did you use to try and install them (and include all options)?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Here is a link for OpenSuse 11.0 distribution iso images: http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.0/iso/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you looking for Suse server, or desktop edition?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Start by visiting Wikipedia and other web resources and doing some research on the subject.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There may be a BIOS configuration issue, or the memory is not properly installed. RHEL 6 should see all of the RAM without problems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

NS2 has a lot of different meanings depending upon your orientation. Please be more specific as to what YOU mean by "NS2"...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Not enough information to help you. If you are trying to edit an RTF file, then you may need to install OpenOffice/LibreOffice. If you are referring to something else, then please provide more relevant information.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What version of RHEL are you using? If you aren't running a current 64-bit system, such as an older 32-bit system with extended memory support, then you may be limited to 32GB. IE, install a current RHEL (or clone such as CentOS) x86_64 version. The 64-bit OS can handle both 64-bit as well as 32-bit software, so you should be ok as far as running legacy code is concerned, though occasionally there may be shared library issues.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Well, this person could install FreeDOS in a virtual machine and run TASM there... :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Mac OSX requires MAC-specific hardware. There are hacks that will allow you to (sort of) run OSX on non-Mac systems or virtual machines, but honestly they don't work all that well.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As cereal mentions, to do this you need to encrypt the drive. There are a number of tools to do this, including TruCrypt: http://www.truecrypt.org/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Most operating systems are coded in C, not C++. There may be some that are based upon some variant of C++ (likely with virtual features disabled), but I don't know of any, and I have been doing OS-level development for 30 years... C for general OS stuff, and assembler for hardware-level stuff.

So, all of that aside, what is your level of experience with C/C++?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What JorgeM said notwithstanding (good advice/comments), the randomness indicates to me that this is likely a hardware problem, such as overheating of system components. If a hard shutdown (hold down power button until system stops), wait (10-15 minues), and then a restart works (for awhile), then I think that will be pretty indicative of the case for a hardware problem - send it in for service.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It (the repeater) is likely using the same address as the other router, so reset it to factory specs, and then change the base (gateway) address of it so it doesn't conflict with the other router.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Are you sure both of these systems are trying to connect to your WiFi access point, and not to a neighbor's? What about the WiFi access key - is it correctly set on both? Another common issue, especially in areas where there are a number of WiFi access points is that by default they all use the same frequency channel. You might want to reconfigure your access point to use one that is not so commonly used - channel 6 is usually the default.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Definitely there is a problem with HD3 given the S.M.A.R.T. BAD status. SMART is hardware that resides on the hard drive on-board controller that monitors the status of the drive, detecting bad sectors, temperature, performance, etc. A BAD SMART status is saying that the drive is either failing, or is about to fail, and this will trigger the BIOS splash screen you are seeing - American Megatrends is the BIOS manufacturer for this system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You say it only happens when you are playing games? Is it always the same game? If different games, are they from the same manufacturer? Games stress a system's I/O bus, CPU, RAM, and video. If one of these are defective, they may encounter a situation where they generate what is called a NMI (Non-Maskable Interrup), causing a shutdown or reboot. Code bugs can do this also, which is the reason for the first 3 questions. I think it is too early to blame hardware vs. software at this point, but my experience makes me incline toward hardware.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

RAR files have nothing to do with Java. They are multi-part archives that can easily be rejoined to create the original file, or file set. There are a number of free applications that can generate or extract rar sets, both for Windows and Linux; however, they have to license the code from Alexander Roshal, so they really aren't open source (as in FOSS). Here is the wikipedia article with a lot of information that may help: http://en.wikipedia.org/wiki/RAR

As far as I know, if you want to create a Java implementation, you will have to license and obtain the code from Roshal.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try a Google search on the terms "DSW" and "Algorithm". Here is a good link to understanding the application of DSW to balancing a "vine" structure - ie, a degenerate binary tree.

http://chirrup.org/cse382/index.php/lecture/index/09/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Encrypt it. All internet traffic is accessible. If it isn't encrypted (ssl/https, vpn, pgp, etc) then it is capable of being easily compromised.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Is there an Apple store near you? Their "gurus" are usually quite helpful for this sort of stuff. Worth a visit, in any case, and cheap at twice the price (free).

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Your windows probably have an invisible border which is what the contact detection is triggered on. Check on the options for creating your windows to set the width of the border to 0 if possible, or 1 (pixel) if 0 is not an option. Optionally, if you can determine the pixel width of the border area, you can adjust your contact algorithm accordingly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What do YOU mean by "normalize"?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

A power surge could have done this. Is this device plugged into a UPS or surge protector? What about the WAN line (dsl/phone/cable/etc)? In any case, at this point, do a proper reset and then reconfigure the device.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Done any Google searches on this yet? Probably not. A simple Google search on the terms "Windows TASM" brings up a plethora of tutorials, FAQs, download sites, instructions, etc. including instructional videos. Try it!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sure. How good are you at image processing? Or, how good are your Google skills to find an already-written library to do that? :-) Myself, I could write it, but why? Leveraging the work of others who really know this stuff and who release it into the wild (open source projects) is not a "bad thing", unless you are doing it for school work! Then, it is cheating! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The wxWin tool set is a GUI library, but you can run any C or C++ code inside your wx functions. There are C functions which will run an external program and have the ability to pipe (as shown in the python example posted by vegaseat) the output to the calling process. You capture that output and stick it in an appropriate GUI widget.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In a Linux/Unix system SAR is System Activity Report, which is part of the sysstat package. I don't know how you access this information in Windows, but in current Linux distributions, the information is in the virtual /proc directory, which is where the sysstat tools get it.

In any case, sar data includes stuff like cpu usage, memory usage, network stats, i/o stats, and a lot of other stuff. I just deployed a sar data collector for our data centers. Each data center (about 500 servers) generates about 350 million data points per day when collected in one minute intervals. It gives us a real-time view into the entire network and we are adding analytical tools so we can predict when systems will fail before they do (degraded metrics), or alert operations when a system is going sideways or crashes, all in real time.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try booting another operating system from CD, DVD, or USB drive. If it continues to fail like this, then you have to believe you have a hardware problem and the system needs to visit the repair depot.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

How are you connecting to the internet? Via WiFi? Is the access-point you are connected to when you sleep the system the same as when you wake it up? Also, what operating system are you using - Windows XP, Windows 7, Linux, other?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

As Moschops said: ^ is not a "to the power of" - it is a bit-wise xor operation. Use the pow() function (or one of its siblings such as powf() or powl()) instead.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The X11 server this system is running is most likely NOT a version of the current xorg server that does support flat-panel displays. However, the more likely issue is that the X11 server just does not support the video hardware you have. It may be possible to configure it to use the vesa driver/interface that most all current hardware will support, but without having access to your system configuration settings in /etc, I can only speculate.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Windows XP, 7, or what OS are you using?

Usually, this is a DNS issue, which can happen if your ISP's DNS server isn't working properly. This has been an issue for me in the past. You can reconfigure your TCP/IP network settings to use another DNS server than the one that your DHCP device (router or ISP) provides. If you think this may be the case, I can provide some TLD (top-level comain) DNS server raw IP addresses that you can use to test this hypothesis.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Interesting situation - a new one on me! :-) Some computers need some time to find the SSIDs broadcasting in the region. You might want to check the router/AP's configuration to make sure it is broadcasting the SSID. Also, it may not broadcast the SSID on a continuous basis, so what happens if you leave your computer on for awhile. Does it detect the SSID then? I know that my cell phones may have to scan for awhile to see the SSIDs available in my home.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Open the Control Panel "Sound" option. Click on the "Recording" tab, and look for an entry for the microphone. Click on that, and then click on the "Properties" button. At the bottom of the window you will see a selection entry with the label "Device usage:". Click on that and select the "Use this device (enable)" option. Then click either the Apply or OK button. Your microphone should now work, though sometimes you may need to reboot the system.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think that Macs support the CUPS printer subsystem. Find the Unix (which Mac OSX is in effect) CUPS driver on the Dell web site for this printer.

Ok, after some investigation, this is really a rebranded Lexmark X4650 printer (all-in-one). Here is a link for the Mac OSX CUPS driver: http://support.lexmark.com/index?page=answerlink&userlocale=en_US&segment=SUPPORT&locale=en&url=http%3A%2F%2Fsupport.lexmark.com%2Findex%3Fpage%3Dcontent%26id%3DDR20799%26actp%3Dsearch%26viewlocale%3Den_US&productCode=LEXMARK_X4650&answerid=16777216&searchid=1357890795097

It is about 45MB in size.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

yes? What do you want to know about computer maintenance?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To run it in a running Fedora system, you need a virtual machine manager such as VMware or VirtualBox so you can install/run Windows in a virtual machine. That way, your Fedora applications continue to run while you simultaneously run Windows applications. I do that all the time.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

What OS are you running?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sounds like what it is - a thank-you for our supporting people like engavi. My response: you are welcome! :-)

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Send it in to the repair depot for service. It is a hardware problem - possibly something as simple as a bad capacitor or connector, but these forums can only suggest possibilities, and likely not a real reason or solution.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

People are still installing SCO Unix? Is there a particular/specific reason for this? Have you considered other Unix variants, such as BSD (both FreeBSD and OpenBSD are good)? These are much more current than SCO (which as a company pretty much doesn't exist any longer - effectively), yet are true Unix systems.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If these are ethernet-attached printers, then HP has management software to handle them. What OS are you using on your PC's?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I think you can use a multi-entry crontab like this:

0 0,5,10,15,20 * * * cmd-to-run
12 1,6,11,16,21 * * * cmd-to-run
24 2,7,12,17,22 * * * cmd-to-run
36 3,8,13,18,23 * * * cmd-to-run
48 4,9,14,19 * * * cmd-to-run

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

For Ubuntu, you want to download packages in .deb format, not in tar.gz or similar formats. You can use apt-get/aptitude to install packages in .deb format that you have on your computer without it being connected to the internet, unless there are missing dependencies, in which case you will need those packages (.deb files) as well.

Most of the time, packages in .gz or other compressed tar images are source code packages that you will have to configure and build with the gcc or other compilers. I don't recommend this for a new Linux user. I do it myself, but then I am a professional software developer with over 30 years experience, most of it in the unix/linux domains.