5,331 Posted Topics
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Try initializing the variable 'i' first before using it. | |
Re: 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, … | |
Re: Show what you are doing. There are too many factors here to say without seeing your code. | |
Re: 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 … | |
Re: 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 … | |
Re: Even more important is the interconnect bus. That controls how fast and efficiently data moves between the CPU and RAM, secondary cache, etc. | |
Re: 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. | |
Re: 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 … | |
| |
Re: 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. | |
Re: 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. | |
Re: Doesn't wireshark or tcpdump provide the tools you need? Or do you need to see what is "in the air"? | |
Re: 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. | |
Re: 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);` | |
Re: On the last line you are printing fromDB[1]. It should be fromDB[0] I would think. | |
Re: Read the terms of use for this site. We DO NOT do your homework for you. That would be cheating... :-( | |
Re: 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. | |
Re: 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 … | |
Re: Send it back for replacement. The keyboard is probably fubar. | |
Re: 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 … | |
Re: 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... :-) | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: It has great reviews and if I could get an invite I'd buy one in a nanosecond! | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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; … | |
Re: 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... :-) | |
Re: 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. | |
Re: I assume you are running Windows? There is the GNU MingW compiler, available here: http://mingw.org/ | |
Re: You need to either be online, or you need to call a phone number that should be provided in the Windows packaging. | |
Re: Have you tried running the recovery disk/partition? | |
Re: 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), … | |
Re: 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 … | |
Re: 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. | |
Re: 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? | |
Re: 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 … | |
Re: 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. |
The End.