5,331 Posted Topics

Member Avatar for koti86

Is this a workstation with external display, or laptop with built-in display? In the former case, you would use the monitor's physical brightness controls. In the latter case, you would use the FN-Key combo that is associated with lowering the display brightness. Personally, after over 25 years of running X-Windows …

Member Avatar for rubberman
0
221
Member Avatar for A.bihinda

You are going to need to be a LOT more clear on what you are looking for. These are NOT simple subjects. Also, just WHAT do you mean by "nano antenna configurations" (I'm translating from your post)?

Member Avatar for rubberman
0
47
Member Avatar for s.mahamure

The passwd program and others like it are owned by root, and have the setuid bit set, so when you run it, it is running as root. Hence, it is able to update /etc/shadow when you change your password, etc.

Member Avatar for rubberman
0
192
Member Avatar for shoaib ali

It does help to have some description of what is happening. There can be many faults related to a CPU.

Member Avatar for rubberman
0
33
Member Avatar for Dudearoo

Let's see if I understand what you want to do. 1. Search a file. 2. Find string1 that is followed in the same line by string2 3. Follow string2 with string3, in the file, written back to disc?

Member Avatar for Suzie999
0
246
Member Avatar for xIXZeroIXx

Do you HAVE to use strtok()? If not, try some different methodology. Why? Because strtok() will alter the string being processed, inserting a null byte at the end of each token returned. In any case, it will return NULL when there are no more tokens to return. I have used …

Member Avatar for WaltP
0
560
Member Avatar for aabbccbryanmark

Use a switch statement on a variable representing the question you are at. Then, to return to a specific question, you can reset the variable to that question, putting all of this in a loop.

Member Avatar for aabbccbryanmark
0
205
Member Avatar for javaprog200

Frankly, we hire a LOT of java programmers (we have over 200 in my department), and certification never comes up, though we will ask the candidate to solve some fundamental programming problems. When I was interviewed, I was asked to write a factorial function in the language of my choice. …

Member Avatar for rotten69
0
177
Member Avatar for lewashby

My guess is that audible.com books are DRM-encumbered, and only support decryption on Windows. My advice is to try installing audible software with Wine, and if that doesn't work, then install a virtual machine manager such as VirtualBox and run Windows as a guest operating system - in which you …

Member Avatar for rubberman
0
101
Member Avatar for anuran

The default speed of most serial ports is 9600 baud (about 8kbits/sec). You need to configure the speed on both ends (the computer as well as arduino board) to a higher speed. Most rs232 serial ports will support about 115kbps these days.

Member Avatar for anuran
0
324
Member Avatar for Tinnin

This: `typedef std::vector<Student_info> container_Student_info;` should be this: `typedef std::vector<struct Student_info> container_Student_info;` Of course, you could do this: typedef struct Student_Info studentinfo_t; typedef std::vector<studentinfo_t> Student_info_containter_t; I like to put the trailing _t on the defined types so I know that these are defined types... :-)

Member Avatar for NathanOliver
0
233
Member Avatar for Secone

If I understand correctly what you are doing, then your professor is correct. The terminating condition of the loop is being able to read words from the input file. If you want to handle multiple files, then in the calling function (the one that calls pupulateStruct()) you will need to …

Member Avatar for Secone
0
167
Member Avatar for jdh1231

School work? Sorry, we really don't want to help you cheat... :-( Generate a formal proof and I will help you verify it.

Member Avatar for rubberman
0
62
Member Avatar for Secone

Unless you use something like a C++ vector, removing an item from an array will not adjust the array. You have to do that yourself, otherwise you have an empty spot as you saw.

Member Avatar for vijayan121
0
241
Member Avatar for daino

If undeclared/unimplemented, C++ will create default base constructor (no arguments), copy constructor, destructor, and assignment operator. The base constructor will do no initialization of variables whatsoever. The copy constructor will do a bit-wise copy of the copied data (member variables), as will the assignment operator. Often these are not safe. …

Member Avatar for vijayan121
0
301
Member Avatar for r0vanz01

You have assigned min from arraySize[0] before it was initialized. You are lucking that it was initialized to zero - it just as easily could have been garbage. So, change then initial assignment from `min = arraySize[0]` to `min = 0`, and then change the for() loop to determine min …

Member Avatar for r0vanz01
0
189
Member Avatar for dreday92

That sounds like a compiler error to me. Are you actually getting to the point you have an executable file?

Member Avatar for Ancient Dragon
0
174
Member Avatar for king03

So, you are trying to configure a complext network with Cisco gear? You have your work cut out for you. Nobody in their right mind would attempt to do so without real Cisco training. Contact them. They may have some on-line training material which would help you; however, I doubt …

Member Avatar for rubberman
0
561
Member Avatar for rectifryer

You probably have not installed the Qt development package. It should be named something like "qt-devel". That's what it is named on Red Hat systems. Not sure about Ubuntu.

Member Avatar for rubberman
0
152
Member Avatar for thuaung1974

Myself, I run Linux on my systems and run Windows in a virtual machine, which I can back up, export, reinstall on another system, or whatever, and to MS it looks like the same machine in all cases. So, I can run Windows in a VM on my workstation, or …

Member Avatar for rubberman
0
44
Member Avatar for WeirDGamerHD
Member Avatar for FaisalSarfraz

Try changing this code: else if ((!user.equals(uname)) && (!pwd.equals(password))) to this: else if ((user.equals(uname)) && (!pwd.equals(password)))

Member Avatar for FaisalSarfraz
0
293
Member Avatar for sandi009

Is that the built-in browser, or the add-on mobile proxy browser? I work in the division that does the mobile proxy browser. If that is the one, I can check with some of my colleagues who are directly responsible for the code on the phone. I am responsible for performance …

Member Avatar for sandi009
0
88
Member Avatar for siaswar

The Google Chrome browser has some add-in extensions that let you run a tab in IE mode. Some only run on Windows, but others don't care. You might want to check them out.

Member Avatar for rubberman
0
155
Member Avatar for SgtMe

Most of these cards have built-in antennas, but provide external antenna leads so you can install better or high-gain ones for better distance and performance.

Member Avatar for malrofo
0
2K
Member Avatar for cristine.y07

SQL Server, or something else? Look up the C# documentation for ODBC.

Member Avatar for M.Waqas Aslam
0
88
Member Avatar for bigstorm

When I was studying mechanical engineering back in the 1960's, Fortran was a required course. I am now a software engineer... :-) FWIW, my wife, the physicist, is one of the few people I know who still use Fortran, and mostly she uses C++.

Member Avatar for editorawais
0
244
Member Avatar for sajis997

Where do you initialize the mIntersectable member of the mSelectedLuminaire object? You are dereferencing it, but not verifying that it is not null.

Member Avatar for sajis997
0
113
Member Avatar for ryantroop

A video file is already in binary. What operating system are you using? There are a lot of tools to do what you want. Both ffmpeg and vlc (and other tools) have video streaming capabilities. You can also use something like netcat (nc) to send the data to another system, …

Member Avatar for hughesadam_87
0
186
Member Avatar for I_m_rude

The Fibonacci sequence. It is as np_complete said, with the addition that by definition Fib(0) == 0, Fib(1) == 1. int fib(int n) { if (n == 0) return 0; else if (n == 1) return 1; else return fib(n-1) + fib(n-2); }

Member Avatar for deceptikon
1
230
Member Avatar for abrarsyed

If this is a balanced tree, then you need to rebalance when deleting the node. This is usually done recursively, which I don't think you are doing. Recursive algorithms are often MUCH simpler than trying to do the same thing in-line, though they may be a bit more resource intensive …

Member Avatar for Despairy
0
171
Member Avatar for samohtvii

Well, since you want to do it yourself, the old cfront C++ precompilers would do that for you just fine (up to the point you need to convert template classes and functions), and I believe that the current GNU C++ compiler will do that with the -E option. However, the …

Member Avatar for deceptikon
0
306
Member Avatar for Dhruv10989

Here you are... #include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; }

Member Avatar for nmaillet
0
225
Member Avatar for TheRazzle

if (strcmp(Input, "Pick Up Knife") == 0) { cout << "You got the knife" << endl; }

Member Avatar for rubberman
0
128
Member Avatar for khongdaubang

Some call C a "high-level assembly code" language, though it really isn't (in my opinion). Assembly language is as close as you will want to get to machine code. Do remember that each processor family has a different instruction set, and trying to do machine code on modern computer gear …

Member Avatar for rubberman
0
2K
Member Avatar for osmanuddin

Please be more specific as to what your particular problem is, and what you want to do to resolve it. Just saying "remove limited connectivity from LAN connection" is not particularly helpful in understading your real problem.

Member Avatar for 3knur8
0
111
Member Avatar for maeve.goodall.1

You can remove the drive from the laptop and try to boot into the BIOS. If it still "lets the smoke out", then the system is fried, though the HD may be recoverable as far as your data is concerned. If it can get to the BIOS, then it may …

Member Avatar for johhny-marshal
0
229
Member Avatar for muhammads

Also Qt is cross-platform. I've used it for Windows and Linux cross-platform development quite nicely.

Member Avatar for rubberman
0
206
Member Avatar for billionair

The overhead of function calling is directly proportionate to the number of arguments and automatic variables declared in the function. They all have to be pushed onto the stack. Also, deep recursion will cause similar overhead. That said, you are generally better off to have a bunch of small, easily …

Member Avatar for rubberman
0
166
Member Avatar for Gaiety

Besides circular queues, looping pointer constructs are necessary to deal with when you have references to other types of items, and they may have a reference back to one of the parents in the hierarchy. There are a number of methods to detect these situations, some of which I have …

Member Avatar for rubberman
0
176
Member Avatar for jason007thomas

There are some excellent Qt tutorials out on the web. Fire up your Google search tool and find them...

Member Avatar for rubberman
0
372
Member Avatar for bipi09

You will still need to obtain the RPM file for it, then you can use yum to install it (yum install filename.rpm) and then follow the rest of the instructions that turncoatlol mentioned. Here is a link to directories that contain the rpms (do you want 64bit or 32bit?): 1. …

Member Avatar for kevin2s
0
225
Member Avatar for bo0ga

The answer is "it depends". Most OEM Windows installations will check to see if the hardware is supported - device drivers have little to do with it. I know that HP Windows installation discs won't work with non-HP gear - I've tried it. I would suspect that Dell versions are …

Member Avatar for hazzag1995
0
594
Member Avatar for rithish

Here is an excellent wikipedia article on quicksort, including sample pseudocode illustrating how to implement the algorithm: http://en.wikipedia.org/wiki/Quicksort

Member Avatar for maurya10
0
351
Member Avatar for pinkygirl

Google... Two sites to check out: [url]www.kernel.org[/url] [url]www.tldp.org[/url]

Member Avatar for capton
0
310
Member Avatar for daino

There are all kinds of html to pdf converters on the market, and a PDF is eminently printable.

Member Avatar for daino
0
521
Member Avatar for I_m_rude

The variable i needs to be instantiated outside of main, either in the same file, or in another one that is subsequently linked to create the executable. Try this: #include <stdio.h> int i = 0; int main(void) { extern int i; i=20; printf("%d\n",i); return 0; } In any case, your …

Member Avatar for deceptikon
0
131
Member Avatar for suhail.mahmood.73

You are a graduating BIS student and you are not much of a programmer? Business information systems are all about programming - implementing complex business logic with computer systems. What kind of systems have you studied? What interested you the most? What could you do that would help push that …

Member Avatar for suhail.mahmood.73
0
178
Member Avatar for soapy.thomas

Take the input into a string, the use the `strtof(const char* ptr, char** endptr)` function to convert the string to a number. You pass the address of a char* variable as endptr and if the conversion stops because it encounters a non-float character in the string, endptr will be set …

Member Avatar for m4ster_r0shi
0
400
Member Avatar for silvercats

The port number of the sending and receiving tasks are usually different. A server will listen on a known port, and when the client connects to it, it will provide an anonymous port to use for that connection.

Member Avatar for rubberman
0
336

The End.