5,331 Posted Topics

Member Avatar for Wasswa Godfrey

Have you looked on YouTube? Setting up a network can be simple, or complex, depending upon the gear, complexity of the network, security requirements, etc.

Member Avatar for happygeek
-1
151
Member Avatar for moaz.amin.37

You need to run thread1 inside thread2 and create a mutex that thread1 will lock and set the data value, in the meantime, thread2 will wait on the mutex and when thread1 releases it and thread2 gets the lock, it can multiply the value (t1.a) by itself and then print …

Member Avatar for moaz.amin.37
0
1K
Member Avatar for Lightninghawk

Look at the Lynksys routers when this happens to see if they have exceeded their number of connections - they may not be relinquishing the connection in a timely manner. If this is the case, then you can try changing the lease time to say 12 hours. If one of …

Member Avatar for Lightninghawk
0
321
Member Avatar for zzmrzz

Not asking for much, are you? What have you tried so far? FWIW, I charge $200 USD per hour (minimum 8 hours) for consulting work, which is what you are asking for... I would estimate that such a job would take 2-3 days minimum (especially since you want it in …

Member Avatar for zzmrzz
0
184
Member Avatar for Ashveen96
Member Avatar for yeyo_1

The one very popular IDE that Mike2K didn't mention is Eclipse which runs on just about anything. It has a C/C++ plugin which works a treat. Myself, I prefer to use a good editor and make, but for less experienced people, the tools that a good IDE provide for editing, …

Member Avatar for taichichuan
0
280
Member Avatar for ceelos1974

Show what you are doing. There are too many factors here to say without seeing your code.

Member Avatar for ceelos1974
0
2K
Member Avatar for danielleCSU16

Write out the program in pseudo-code first and work it through using that logic. It will likely show you where your mistake is. Sorry, but I haven't written x86 assembler since about 1992... That said, it is obvious from your results that your logic as to where to stop recursing …

Member Avatar for Glen_1
0
597
Member Avatar for hazinjir

Usually the display is an all or nothing proposition. The problem is possibly the hard drive, RAM, or CPU. If it was still displaying the progress bar, but was hung, then I would suspect it is the HDD. Send it in for repair. They have diagnostic tools to determine exactly …

Member Avatar for hazinjir
0
278
Member Avatar for RikTelner

Even more important is the interconnect bus. That controls how fast and efficiently data moves between the CPU and RAM, secondary cache, etc.

Member Avatar for RikTelner
0
170
Member Avatar for tony75

256 bit AES is good for stuff only you are going to need to decode, otherwise you want to use at least a 1024 bit RSA algorithm such as PGP. Dropbox should have some guidelines for this use.

Member Avatar for tony75
0
108
Member Avatar for mouaadable

The maximum disc size depends upon (to some extent) the file system that is using it. In any case I think that 2TB is about the smallest maximum size (kind of an oxymoron that) supported. Modern partition table formats can handle larger devices (such as 3tb discs and larger RAID/LVM …

Member Avatar for mouaadable
0
485
Member Avatar for thewigpig
Member Avatar for yeyo_1

There are any number of distros it could be. The wallpaper may give a clue, but I'm not familiar with it. In truth, unless the name/logo is visible on the GUI, you would need to look at other things.

Member Avatar for Gribouillis
0
326
Member Avatar for Cy_Squared

We don't do your homework for you. Make an honest effort, show us the code if you are having problems, and if it seems appropriate we will help you resolve your problems and point out some of your errors.

Member Avatar for David W
0
667
Member Avatar for repaair_man

Doesn't wireshark or tcpdump provide the tools you need? Or do you need to see what is "in the air"?

Member Avatar for CimmerianX
0
153
Member Avatar for waseem1345

You can set up a database (MySQL, Oracle, Postgres, etc) in the Amazon cloud that your web site can access, and you can get to from anywhere. They all have command-line tools that let you query the data using standard SQL syntax.

Member Avatar for castajiz_2
0
203
Member Avatar for Singularity83

What is the purpose of the 3rd parameter 'e'? Also, in your average() function, you don't return the results of the recursive call. IE, line 9 should be `return average(A, s+1, e);`

Member Avatar for Singularity83
0
202
Member Avatar for kyle.mace.35

On the last line you are printing fromDB[1]. It should be fromDB[0] I would think.

Member Avatar for rubberman
0
1K
Member Avatar for Avdhesh_1

Read the terms of use for this site. We DO NOT do your homework for you. That would be cheating... :-(

Member Avatar for rubberman
-1
470
Member Avatar for archie.herbias

GPS does not use the internet. It uses signals from satellites to triangulate your position. You do need to be in a location where the signals can be detected however.

Member Avatar for rubberman
0
206
Member Avatar for Darkzero45

Other than the snail-slow 1GHz CPU, the specs are OK. Video display is more a function of the GPU (graphics processor) which on this device is probably running at 1GHz as well, which doesn't do too well for rendering videos running at full resolution and frame-rates. I assume it is …

Member Avatar for gerbil
0
434
Member Avatar for betinat
Member Avatar for yeyo_1

You are missing a couple of curly braces. Try this instead: #include <iostream> using namespace std; int main () { int num1 = 5, num2 = 10; if (num1 < num2) { cout << ”num1 is less than num2” << endl; } else { cout << ”num1 is not less …

Member Avatar for yeyo_1
0
185
Member Avatar for capton

Boot into the rescue mode and see if you can reinstall the kernel. That should allow you to boot the system. One bit of gratuitous advice - leave /boot alone! Once you are a "Linux Expert" that may not be necessary advice, but until then, leave well-enough alone... :-)

Member Avatar for Gribouillis
0
1K
Member Avatar for dietrich.aldz

I disagree with oricion. 1. If the card did work at first, but stopped working recently, then the card is likely failing and you should return it for a replacement. 2. If #1 is not the case, then the problem is likely that you need to access the BIOS and …

Member Avatar for abhisek.bharadwaz
-2
248
Member Avatar for kyle.mace.35

1. fork - this returns the child PID to the parent, and 0 to the child, unless there is an error, in which case it returns -1 and errno is set and no child process is started. 2. In the child, run execl - this will transform the child process …

Member Avatar for rubberman
0
2K
Member Avatar for slfisher

The camera should only be enabled remotely if the student has reported the device as lost or stolen. To do so otherwise is an egregious violation of their right to privacy, and is, on the face of it, a felony. Keystroke logging? That is also a violation of privacy, but …

Member Avatar for happygeek
1
645
Member Avatar for iConqueror

Since Game is an abstract class, you need to create a concrete class derived from it without the playOneGame method, and then instantiate it, and run that method, testing the output from a number of inputs. You will have to implement the abstract methods declared in the Game class.

Member Avatar for rubberman
0
176
Member Avatar for Marumarsu

Also, I'm not sure if the space in front of %d in the scanf() function will require that the user input a space before the number.

Member Avatar for rubberman
0
120
Member Avatar for Slavi

It has great reviews and if I could get an invite I'd buy one in a nanosecond!

Member Avatar for Slavi
0
98
Member Avatar for Tycellent

Do you mean the Simple and Fast Multimedia Library (SFML)? First I've heard of it, but the best way to check out something like this is to do some prototyping with it and see if it works for you. Since it is open source, do report bugs or usability problems …

Member Avatar for Sarkurd
0
683
Member Avatar for RikTelner

If it ain't broke, don't fix it. My Dell D630 (dual core 3GHz CPU, 4GB RAM, 500GB 7200 rpm HD, 1Gbps ethernet, bluetooth, wifi, HD display) is 8+ years old and still handles all my embedded programming, virtual machines, video processing, and software development chores without complaint. The audio stopped …

Member Avatar for rubberman
0
231
Member Avatar for aluhnev

Until you post your code I can only say that we don't do your homework for you. You have the solution algorithm in the pseudo-code. Just apply the language to the solution.

Member Avatar for Lerner
0
731
Member Avatar for 3knur8

Are you sure both access points are broadcasting their SSID's? That can be disabled so a network is invisible. He should be able to connect to the "invisible" network via its SSID explicitly. Once he does so, his system should be able to remember and see it in the future.

Member Avatar for 3knur8
0
260
Member Avatar for piet.paaltjens.792

The fact that the OS doesn't detect the drive at all is not a good sign. Usually that means the drive controller has failed. TylerD75's suggestion about getting a USB (or eSata) docking bay to see if the system can access the data is not a bad one. I usually …

Member Avatar for TylerD75
0
141
Member Avatar for sbaw

Executing code from ssh is not a problem. There are several possible problems. One is that your shell may not be in the directory you think. Another is that the permissions you think you gave the file are not correct or the file is no longer there. Try executing ls …

Member Avatar for sbaw
0
245
Member Avatar for akasekaihime

From the sounds of it, it seems to me that you may have a flash drive plugged into the USB port and the BIOS is set to boot from USB first. As 3knur8 said, go into the BIOS and check the boot order, or if you have a USB flash …

Member Avatar for rubberman
0
151
Member Avatar for Tlotleng

class Address // Assumes address is in USA { private: std::string street; std::string city; std::string state; std::string zipcode; public: const std::string& getStreet() const; const std::string& getCity() const; const std::string& getState() const; const std::string& getZipCode() const; }; class Map { . . . public: void showLocation( const Address& addr ) const; …

Member Avatar for Neuman
0
283
Member Avatar for MiketheBook

Don't know. My wife just upgraded to Mavericks. I'll repost here if she has similar issues. Myself, I don't use Apple cruft. My wife on the other hand is an Apple fan-girl... :-)

Member Avatar for MiketheBook
0
227
Member Avatar for philpense

Didn't you ask this question already? I already answered the question in your previous post. Please don't double post... :-( And you posted it as mnewsome.

Member Avatar for peter_budo
0
93
Member Avatar for rose_2

I assume you are running Windows? There is the GNU MingW compiler, available here: http://mingw.org/

Member Avatar for rose_2
-1
79
Member Avatar for denly@malaysia

You need to either be online, or you need to call a phone number that should be provided in the Windows packaging.

Member Avatar for happygeek
0
68
Member Avatar for aluhnev
Member Avatar for glao

This is bad: *A = (int*) malloc( 2 * sizeof(int)); for (int i = 0; i < 10; i++){ (*A)[ i ] = i; } You allocated room for two integers in the array, but are setting 10 items. Additionally, in main(), you need to initialize A to 0 (NULL), …

Member Avatar for glao
0
882
Member Avatar for Ghost0s

When multiple applications try to send/receive data at the same time over the same network link/connection, the network driver will mostly queue them in FIFO (First In, First Out) order. The network hardware will send/receive until it has reached its performance limit, which with modern hardware ports, is as much …

Member Avatar for L7Sqr
0
187
Member Avatar for samy_2

Sorry, but we don't do your homework for you. Please make an effort, post your code here, and we may help you sort out your problems if it seems appropriate.

Member Avatar for rubberman
0
101
Member Avatar for atul rohilla

If it shows the BIOS POST (power-on self-test) screen but nothing after that, then the default vga gear in the video card is working ok, but likely the high-resolution stuff is not. Have you tried another video card?

Member Avatar for rubberman
0
212
Member Avatar for DawnofanewEra

This may help: https://en.wikipedia.org/wiki/S-box That said, the logical bit-wise operations are intended to mask specific bits to generate the index to the sbox for lookup. The value 0x20 == (binary) 100000 & src masks out all but the top bit in src. value 0x01 == (binary) 000001 & src masks …

Member Avatar for rubberman
0
2K
Member Avatar for VaperKitten

It is better to use a vacuum to clean the inside of a computer. Blowing compressed air to clean it can blow dirt and detritus into connections causing this sort of problem. It is likely that this has happened with the video card, or other contacts.

Member Avatar for rubberman
0
152

The End.