5,331 Posted Topics

Member Avatar for ncis_sg1

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 …

Member Avatar for rubberman
0
221
Member Avatar for mc3330418

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') << …

Member Avatar for rubberman
0
141
Member Avatar for tofumaker

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++) …

Member Avatar for deceptikon
0
159
Member Avatar for desmondo

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 …

Member Avatar for BigPaw
0
133
Member Avatar for javanoob101

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 …

Member Avatar for javanoob101
0
243
Member Avatar for arcticman452

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.

Member Avatar for arcticman452
0
153
Member Avatar for ferdie.dumdumaya.33

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!

Member Avatar for deceptikon
0
87
Member Avatar for Digital64

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 …

Member Avatar for rubberman
0
203
Member Avatar for anumash

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 …

Member Avatar for rubberman
0
2K
Member Avatar for Dranip

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.

Member Avatar for giffy
0
197
Member Avatar for erogol

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 …

Member Avatar for rubberman
0
6K
Member Avatar for lewashby

It may be a S3TC version issue, but you should install the dev package as well, especially if you built Steam from source.

Member Avatar for rubberman
0
94
Member Avatar for dihmen

Dihmen, please do not as people on the forums to do your homework for you! It is impolite, unethical, and just plain cheating!

Member Avatar for <M/>
0
74
Member Avatar for tanmay.majumdar2

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 …

Member Avatar for CGSMCMLXXV
0
167
Member Avatar for learner01

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?

Member Avatar for learner01
-3
250
Member Avatar for seandarcy

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 …

Member Avatar for JorgeM
0
180
Member Avatar for Kanugane

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.

Member Avatar for rubberman
0
80
Member Avatar for vicky.munnik
Member Avatar for rubberman
0
137
Member Avatar for sasuminor

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

Member Avatar for rubberman
0
51
Member Avatar for Bolabode

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.

Member Avatar for code739
0
175
Member Avatar for aosoremi

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 …

Member Avatar for aosoremi
0
268
Member Avatar for lewashby

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/

Member Avatar for lewashby
0
168
Member Avatar for prakashraksaul

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.

Member Avatar for CimmerianX
0
159
Member Avatar for rahul pareek

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

Member Avatar for rubberman
0
108
Member Avatar for xXExtrikerXx

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 …

Member Avatar for adam_k
0
283
Member Avatar for smartsheep

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.

Member Avatar for smartsheep
0
176
Member Avatar for thelostboy

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

Member Avatar for tompatrick
0
139
Member Avatar for baladevan

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 …

Member Avatar for rubberman
0
114
Member Avatar for md65381

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 …

Member Avatar for SoreComet
0
180
Member Avatar for kylethedarkn

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.

Member Avatar for kylethedarkn
0
405
Member Avatar for manfred_1

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 …

Member Avatar for caperjack
0
734
Member Avatar for viktoriaong

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 …

Member Avatar for rubberman
0
108
Member Avatar for jasonmark238

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 …

Member Avatar for rubberman
-1
136
Member Avatar for sbharathind

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/

Member Avatar for rubberman
0
243
Member Avatar for boiishuvo

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 …

Member Avatar for margaret224
0
320
Member Avatar for Leo G

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.

Member Avatar for Leo G
0
180
Member Avatar for happyHacker
Member Avatar for viplovdeep

What operating system are you running on both systems, and how is the broadband device connected to the computers (usb, or something else)?

Member Avatar for rustysynate
0
231
Member Avatar for rachel.lord.39

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?

Member Avatar for BigPaw
-1
223
Member Avatar for giancan

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 …

Member Avatar for sneekula
0
1K
Member Avatar for TIM_M_91

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

Member Avatar for TIM_M_91
0
75
Member Avatar for killer88

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 …

Member Avatar for azareth
0
107
Member Avatar for tushargupta51

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 …

Member Avatar for stormal1
0
316
Member Avatar for mdbelalp

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.

Member Avatar for stormal1
0
120
Member Avatar for MasterHacker110

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.

Member Avatar for Moschops
0
301
Member Avatar for professor123

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 …

Member Avatar for rubberman
0
205
Member Avatar for ENGAVI

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

Member Avatar for here2serve
0
68
Member Avatar for hamza.farooq.7355

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

Member Avatar for here2serve
0
198
Member Avatar for beep

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 …

Member Avatar for gerbil
0
248
Member Avatar for tokkuma
Member Avatar for ksanjeet331
0
77

The End.