5,331 Posted Topics
Re: Arrrgh! About 30 years ago I might have been able to help you, but the last time I had to deal with COBOL was around 1983... I have done all in my power to purge that knowledge from my brain since. :-) The only suggestion I can make right now … | |
Re: This is a case where you should pass a reference to the array you want to store the data in from the caller. Example: void printUpperLetters() { char upperLetters[26]; ::memset(upperLetters,0,26); findUpperCase(upperLetters); for ( int i = 0 ; i < 26 ; i++ ) { cout << (char)(i +'A') << … | |
Re: Try this: int x = 0; int buf[4]; int* array[5]; for (int i = 0; i < 5; i++) { for (int j = 0; j < 4; j++) { buf[j] = x++; } array[i] = (int*)malloc(sizeof(buf)); memcpy((void*)array[i], (void*)buf, sizeof(buf)); } for (int i = 0; i < 5; i++) … | |
Re: How old is the battery? Lithium Ion batteries that are used in laptops, phones, etc. have a limited life span. They will hold less and less of a charge as they age, to the point where it will show full, but have basically zero capacity. If yours is over a … | |
Re: Why are you running WinMe? Is that the latest Windows OS your hardware will support? As for the CPU usage, look at the services running to determine which are possibly taking up your CPU. My guess is that if you have some sort of anti-virus program installed that does on-access … | |
Re: The code `pName = &name` should be either `pName = name` or `pName = &name[0]`. What you did was to take the address of the string which is already a pointer. | |
Re: School work? :-) Please make an effort first, and then we will help you over the rough spots, but DO NOT ask us to do the work for you. Cheating is unethical and doesn't help you learn the subject! | |
Re: The telnet protocol has a complete conversation between client and server on startup. When you connect, it (the server) sends you queries about what your (the client) capabilites are, and you need to catch them and reply accordingly. That is so the server knows what to do when you send … | |
Re: I can't remember the sample size in WAV files, but I think it is 16 bits, which is a short integer in C. However, the bit order is something you need to determine, just in case you need to re-order the samples before uploading to the microcontroller. IE, this is … | |
Re: The IMEI number must either be on a label attached to the case, etched into the case / cover, or on a label inside the case. If the latter, you will have to take the cover off to read it. | |
Re: What mike_2k said, but understand that for an application to use the libraries you installed in /usr/local/lib, you will need to update the LD_LIBRARY_PATH environment variable to search there. IE, in your .bash_profile add this line: export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib" The reason for the {} around LD_LIBRARY_PATH is because you are using … | |
Re: It may be a S3TC version issue, but you should install the dev package as well, especially if you built Steam from source. | |
Re: Dihmen, please do not as people on the forums to do your homework for you! It is impolite, unethical, and just plain cheating! | |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
Re: 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. | |
Re: Start by visiting Wikipedia and other web resources and doing some research on the subject. | |
Re: 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. | |
Re: 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 … | |
Re: 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/ | |
Re: 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. | |
Re: NS2 has a lot of different meanings depending upon your orientation. Please be more specific as to what YOU mean by "NS2"... | |
Re: 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 … | |
Re: 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. | |
Re: 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). | |
Re: 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 … | |
Re: What Michael suggests is one approach. Another is to install the android phone/tablet simulator (available from the google/android developer site), which will let you run android applications in a simulated natural environment. The main issue is that most android applications use Dalvik - a virtual machine that takes byte-code and … ![]() | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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/ | |
Re: 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 … | |
Re: 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. | |
Re: What operating system are you running on both systems, and how is the broadband device connected to the computers (usb, or something else)? | |
Re: 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? | |
Re: 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 … | |
Re: 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, … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: Sounds like what it is - a thank-you for our supporting people like engavi. My response: you are welcome! :-) | |
Re: As AD said... :-( The recovery partition for Dell systems will restore the system to the state it came from the factory, whether you got it with Windows, or Linux. No backups? I hope you have hard copy... | |
Re: You need to remove all the associated files installed with Java that still reside on your system, and then remove ALL of the entries the installation made in the registry. Not fun, but necessary to fix this. There are free tools on the internet that will try to fix your … | |
|
The End.