5,331 Posted Topics

Member Avatar for goyofoyo

New to C programming are we? You need to learn how C program files use headers to describe/define structures and interfaces. This is basic computer science and programming 101. For example, if I have a C source file that implements some API (functions) that other programs may use, I will …

Member Avatar for rubberman
1
189
Member Avatar for rikkidunnett

So, you are saying that your notebook display only works for a second or two on boot, but if you have an external display (tv, etc) then that will continue to work? If so, then I believe the LCD driver hardware is faulty. Send it in to the Asus repair …

Member Avatar for rubberman
0
68
Member Avatar for VEL Hassan
Re: SEO

??? What EXACTLY are you trying to accomplish? SEO can mean many thing to different people.

Member Avatar for Fest3er
0
222
Member Avatar for khushhappy

BTW, please stop SHOUTING! Bad netiquete. Usually, this sort of situation is done via firewall rules. You don't mention what you are using for a firewall - hardware (make/model), server software (what program/service), what? Without more information, there isn't much we can tell you that may work in your environment.

Member Avatar for savedlema
0
217
Member Avatar for SAM2012

I won't go beyond the struct declaration. You are using the same name for the constructor argument as you are using for the member variable. DON'T DO THAT! As a good practice, use m_ as a prefix for member variables, so instead of value, the member variable name is m_value, …

Member Avatar for SAM2012
0
287
Member Avatar for mehnihma

There are books that go into this in detail. As a software engineer, I just use the appropriate macro functions that convert network-to-os order and vice-versa. I don't bother with the rest. That said, I used to teach basic internetworking to AT&T techs so I had to lecture on all …

Member Avatar for mehnihma
0
173
Member Avatar for kalyanSingh

If there are no user-accessible accounts with administrator privileges, then you will have to reinstall the system. I don't know of any way to change the administrator account password without logging in as the administrator directly. However, if a user-accessible account has administrator privileges, then they can do anything needed …

Member Avatar for CimmerianX
0
144
Member Avatar for esraa waqfi

A lot of systems advertize dual core cpus with hyperthreading as quad-core, which is deceptive in my opinion. My work laptop is an i7 cpu, which should be quad-core for real, but a lot of them are only dual-core + hyperthreading, and such is my system. That means I can't …

Member Avatar for Dragennd
0
161
Member Avatar for firdousahmad

Boot with a live cd/dvd/usb drive, mount the root file system on the hard drive to some local mount point such as /mnt/sysroot (you will have to create the directory first), then you can, as root in the live system, edit the /etc/shadow file to remove the password for the …

Member Avatar for mike_2000_17
0
136
Member Avatar for nHulk
Member Avatar for rubberman
0
115
Member Avatar for nabih17

Well, upgrading your Symbian phone from Anna to Belle had zip to do with your computer problem - a red herring if you will. I am a senior systems engineer at Nokia Mobile Phones so I have some understanding of that - one of my phones is an N8 Symbian …

Member Avatar for rubberman
0
199
Member Avatar for vishalbandre

First, find wall, place head against wall, pull head away from wall, accelerate head to impact on wall sharply, repeat instructions... Second (and less painfully), install a virtual machine manager such as VirtualBox on your system, then install Ubuntu Server 12.04 there and go back to "First" above until you …

Member Avatar for rubberman
0
328
Member Avatar for coding101

You aren't providing enough information. For whatever it's worth, building kernel drivers is not for the newbie. All I can reasonably suggest is that you look at the Makefile associated with other, similar, drivers to see how they do it. Also, go to the gnu.org web site and read the …

Member Avatar for rubberman
0
156
Member Avatar for sundog1

My advice? Forget it! Licensing software (or using DRM) only keeps the honest honest, but irritated (when the software fails because the license or DRM software is fubar, that is a quick way to lose customers). Most customers of commercial software are perfectly happy to pay, and are more than …

Member Avatar for sundog1
0
174
Member Avatar for nitin1

I did this as a self-teaching exercise about 27 years ago. 1. Create a static array of primes up to 10,000 using the Sieve of Aristhostenes. 2. Utilize a RECURSIVE, binary partitioning algorithm to determin if a number is prime. First, find the largest prime number <= 1/2 of the …

Member Avatar for TrustyTony
0
218
Member Avatar for nitin1

So, how long ago did you get this assignment? Here it is, less than 2 days until it is due, and it doesn't appear to be a trivial problem. Sorry, but we don't help you cheat. You have to do this on your own. We'll help once you have made …

Member Avatar for Gonbe
0
175
Member Avatar for wids101

1. Use `<< endl` output manipulators after each output line so that the output is flushed to the display, and it appears on its own line. 2. The loop is simple: while (soda != 6) { // 1. display menu // 2. decode input to decide what to do. // …

Member Avatar for wids101
0
392
Member Avatar for straylight

Go from back to front, and use a temporary buffer to hold the data until done. IE, for (int i = strlen(input) - 1, j = 0; i <= 0; i--, j++) { temp[j] = input[i]; } temp[j] = 0; output = temp; Just FYI, this won't work, but it …

Member Avatar for rithish
0
1K
Member Avatar for archana.patil.1800

It seems you can only maximize the height, but the width you have to go to preferences and set the windows width manually. I was able to set mine to 256 chars, or more.

Member Avatar for JorgeM
0
77
Member Avatar for Dwayne2long

Not a good idea. The better option would be to increase the priority of your program so it will pre-empt other processes that are running at a lower priority. From your question, I assume you are running Windows. With Linux this is trivial, by decreasing the 'nice' factor of your …

Member Avatar for rubberman
0
128
Member Avatar for np complete

1000! == 4.023872601e+2567 - a value that will overflow ANY normal computer numeric variable. My guess is that 2000, 3000, etc worked because of numeric overflow on the integers resulted in a valid (NOT correct) value. To work with such large numbers, you need specialized math software libraries, such as …

Member Avatar for np complete
1
124
Member Avatar for Brian_L

Also, please put your code in code blocks so it is properly indented. It is very hard to read as-is.

Member Avatar for JasonHippy
0
151
Member Avatar for aayushgsa

If you can't connect the monitor to another computer or video card to test if it is the culprit, see if you can see the problem when you run the monitor's built-in diagnostics. If it persists, it is the monitor. If it doesn't, then it is the video card - …

Member Avatar for aayushgsa
0
218
Member Avatar for chuck.rychner

So, this doesn't happen with Firefox? I assume you are using Norton in on-access-scan mode? This may interfer with IE if IE thinks it is taking too long to access some web content or load necessary ActiveX controls, dll's, etc. Try disabling that feature temporarily to see if that makes …

Member Avatar for frank brackett
0
144
Member Avatar for jnewman3

Just do one wait() in the parent process in a loop - not one for each child pid - until it receives the SIGCHLD signal for each forked child process. Waiting 3 times in the same while() loop is counter-productive. Alternatively, you can use waitpid() instead, to wait for a …

Member Avatar for rubberman
0
275
Member Avatar for linabeb

So, what is this header file for? If available for Ubuntu, but not for Windows, then you may have to port the library it supports to Windows yourself. What does winscard do? Why are you using it?

Member Avatar for rubberman
0
2K
Member Avatar for juliani91

Walk through your logic, identifying each component step critical to the final calculation. Make sure each step completes correctly. As you do this exercise, you will find where your problems are.

Member Avatar for rubberman
0
510
Member Avatar for c1c2c3c4c

Isn't this kind of where we are going with quantum computing, where a bit can encode more than 2 (0 or 1) values? Anyway, most of the cost would be involved with providing compatibility. Yes a 3-state computer could interpret (if instructed to do so) dual-state data, but it wouldn't …

Member Avatar for rubberman
0
630
Member Avatar for cretaros

All the documentation you need should be on your system (see the man and info commands), and you can find a lot more either online, or from the supporting web sites (Google is your friend). For FTP you need to know about xinetd and also whether or not you want …

Member Avatar for rubberman
0
160
Member Avatar for gzeli.pedregosa

The purpose of these class exercises in algorithm development is to get you thinking about problems and how to analyze and approach and then solve them. Don't ask us to help you cheat! And that is what you are doing! Make an honest effort, and we may decide to critique …

Member Avatar for rubberman
0
770
Member Avatar for blackamateratsu

There are a lot of factors. The data (videos) are stored across many computers. How fast some (or parts) are accessed depends upon the load (cpu, network, i/o) on specific components. You need to understand how big-data (Hadoop and Google's mass storage) read-mostly systems work. If you did, you would …

Member Avatar for rubberman
0
171
Member Avatar for daino

Some C header files are not C++ safe. If you get compiler and/or linker errors when you try to do so, then "guard" the `#include <someCheader.h>` directives with `extern "C" {...}`. Example: #ifndef MYCPPHEADER_H #define MYCPPHEADER_H // My C++ header file extern "C" { #include <someCheader.h> } . . . …

Member Avatar for daino
0
1K
Member Avatar for ibemeganavery
Member Avatar for Viped
Member Avatar for Viped
0
185
Member Avatar for Blakeman321

Speed, speed, speed. That is the question. Can you find another ISP and/or device that can give you better throughput? Since you are using Virgin, I assume you are in the UK? I am in the US, so I don't know what will work best over the pond.

Member Avatar for rubberman
0
145
Member Avatar for BONG_4968

Go to the device manager, and remove the entries for your wireless, if they appear. Then reboot. The system should reinstall the drivers and this will often fix the problem.

Member Avatar for rubberman
0
109
Member Avatar for jaimasani
Member Avatar for jaimasani
0
312
Member Avatar for smith32

Please provide your definition of the dlist structure. I can infer it from the code, that that is not really reliable...

Member Avatar for smith32
0
246
Member Avatar for Kaiser.432

Not enough info, but since this is a school project, I have to ask, what do you know about database management and file sharing? IE, the subject is to broad to approach in any meaningful manner until you start to restrict it to some reasonable parameters.

Member Avatar for rubberman
0
126
Member Avatar for lewashby

You can extract the specific file from the compressed .bz2 tarball with this command: tar -jxvf filename.tar.bz2 targetfilename

Member Avatar for mike_2000_17
0
118
Member Avatar for zvjezdan.veselinovic

What waltp said: string getName() { cout << "What is your name? "; getline(cin, name); return name; }

Member Avatar for zvjezdan.veselinovic
0
222
Member Avatar for Skate Bart

MySQL is a good choice for a low maintenance database that is widely supported, and free.

Member Avatar for kitschkath
0
244
Member Avatar for Darshan5

Good employers don't place too much emphasis on "certifications", but on what you know and what you have done. If you are going to take a year to refine your skills, then sign up and start contributing to a serious open source project. In our organization, that would count for …

Member Avatar for geresespina
0
133
Member Avatar for keepingupwiththejonez

I have found that sometimes when this happens you can fix it by going to the device manager and removing all the USB hubs and devices, then rebooting. That will reinstall all of the drivers. I had a similar problem with Win7 not being able to recognize my USB thumb …

Member Avatar for johhny-marshal
0
179
Member Avatar for consweila

Assuming you are running Windows, then boot into safe mode, login, reset the resolution if necessary, and then reboot. This usually works for me, though your mileage may vary... :-)

Member Avatar for johhny-marshal
0
219
Member Avatar for BoulderMen

Don't ask us to do that with a long "stack" of code without providing the compiler output with syntax errors and warnings.

Member Avatar for np complete
0
914
Member Avatar for Tanyael

We don't solve your school problems here - that is blatant cheating. You first have to make an effort to solve them, then if you have made a sincere effort, we will happily help you to figure out what went wrong... :-(

Member Avatar for np complete
0
569
Member Avatar for jorgmen

Qt works well in most environments, and is almost 100% cross-system compatible. I have used it for Windows, Linux, and QNX development work, each of which has a totally different windowing system.

Member Avatar for np complete
0
153
Member Avatar for Gruwel

Are you sure the "new" CPU is rated for the speed the old mobo is driving it at? It sounds like it is incorrectly overclocked to me. In your specs you don't mention what the CPU speed of the old vs the new CPU is. You do mention the DDR …

Member Avatar for rubberman
0
501
Member Avatar for nzerrougui

So you are saying that the display works, but the backlight doesn't? On most systems, these are florescent lamps, and others LEDs. If yours is the florescent type, then the balast may be bad, or as you say, it could be the controller on the motherboard. In any case, you …

Member Avatar for rubberman
0
152

The End.