5,331 Posted Topics
Re: What ddanbe said. To expand. We don't do your homework for you. Show your work, and if appropriate we will help you to sort out your errors. | |
Re: A class method is a single interaction point with an instance of the class. It should do only one thing, and do it well. There are methods to access state data, and methods to change/set them. The setter methods should be written to properly validate the changes the caller is … | |
Re: I think that both Google Maps and Nokia's Here have API's that can do that for you (probable web services APIs). You need to do some research on their sites for this. When you pull up Google Maps or Here on your computer or phone, and input an address, it … | |
Re: Is this a 32-bit only CPU, or does it have 64-bit capabilities? My Dell D630 is a Core 2 duo with 64-bit capabilities. I run a clone of Red Hat Enterprise Linux (Scientific Linux) on it very nicely. Getting the WiFi working took a little work, but it functions nicely … | |
Re: You should be able to use a USB keyboard without problems. | |
Re: This is not enough information to help you. Does this happen for all web sites, or only one or a few? What error do you get? A connection reset means that the site or network has reset/dropped the connection. A timeout error means that the site did not respond in … | |
Re: You should be able to right-click on the panel, and select the "add to panel" option to do what you want. | |
Re: Assembly is direct-to-processor coding and totally not portable. It is only used these days to write processor-specific code for operating system low-level programming. My last assembler coding was about 25 years ago for x86 TCP/IP device driver code. Even since then most of my device driver code for systems such … | |
Re: It is not nice to post code with some problem, and then not indicate what/where the problem is. What IS your problem? P.S. NathanOliver was being polite... | |
Re: You are almost there. Do the code and show us how you might do it. Basically you are adding the values of arr[0][N] and arr[1][N] where N is 0...4. | |
Re: This is a situation where "I told you so" is correct, but not particularly helpful... IE, NEVER install new OS versions directly on your system. This is what virtual machines are for! If they mess up (they will, inevitably), then you can just remove the VM and files, and start … | |
Re: When I had to sort a linked list in the past, I would put the nodes into an array and use qsort(), then take the sorted output and regenerate the list. Worked great, and was reasonably fast, even on old 8086 PC's with 256-640K of RAM. Of course, that limited … | |
Re: If you are working as an independent consultant doing this, and you are in the USA, then if you are experienced and good at this, you can command around $200USD per hour for short-term assignments, and $100+ for long term ones. Remember, you have to pay your FICA (social security), … | |
Re: These days, "upgrades" are not so much an option, and will cost more than replacing the system with a current model - planned obsolescence is the term I believe. Replacement will probably be cheaper, and better... | |
Re: I know that current outlook versions do sync with office 365 online, but I don't know about 2003. Check with MS for a plugin that may do that. | |
Re: TCP is connection oriented, suitable for sending complete files. UDP is packet oriented, suitable for sending short messages. TCP will verify that all the data got to the destination, and in the proper order. UDP makes no guarantees. You will have to bake your own error recovery and retry logic. … | |
Re: What port is the server using? You need to know that. The server should be listening on that port for connection requests, so your client would use a TCP/IP connect call to the server computer with that port. | |
Re: JorgeM is correct. In our home, I have two wifi access points w/ switches. The router/internet connection and access point is in my office in the basement. The other switch/access-point is in my wife's office on the first floor. They are connected via a power-line connector, which is just an … | |
Re: What version of Xubuntu and Firefox are you running? Also, what window manager? Finally, is your mount a wireless or wired device? If wireless, is it radio, or infrared. If wired, is it USB or PS/2? | |
Re: Not asking for much, are you? You want us to analyze 430+ lines of code. Reduce it to the sections that you are having problems with. FWIW, I charge my clients $200USD per hour to analyze their code, and this will take at least a couple of hours to do … | |
Re: Generally, the Expression is a comparison of two operands, such as i >= 0. This is a boolean expression which will return true if i is greater than or equal to zero, and false if less than zero. This is basic stuff. I would suggest you do some study of … | |
Re: There are a gazillion computer programming languages, some of which are main-stream and some of which are niche languages, and others are just plain old languages (Fortran, APL, PL/M, etc). I have professionally used dozens. These days, my main programming languages are shell scripts (bash, python, perl), web languages (PHP, … | |
Re: Just because it makes noises and the fans run doesn't mean the mobo is fine, or anything else. Do you hear any beeps when it starts up? Does it use an internal video adapter built into the mobo, or do you have an external video adapter, or both? How is … | |
Re: Was your double-posting of this a mistake? Fat fingers? | |
Re: All compilers have function libraries, but in truth they are not "standard". IE, what you have in Windows is not what you have in Linux, Unix, OSX (BSD Unix), etc. There are a lot of good internet resources for the classes, functions, templates, etc that standard C++ supports, and any … | |
Re: Go to this site, and study it closely. It has the best RNG tutorials available: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html From the site (I've posted this here before, at least twice): Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin. -- John von Neumann (1951) Anyone … | |
Re: Is the Skype app installed? Skype works over WiFi or wired networks. Are you in range of a WiFi access point? Are you connected? | |
Re: Solved? Can you extract the prime factors for any random number? The prime factors for 12 are not what are shown, but are 1, 2, and 3, and the prime factors are what count. | |
Re: Have you tried using qsort(). It was made for this, unless your professor wants you to implement your own sorting routine. | |
Re: What have you done so far? We don't do your homework for you. Please read the terms of service (TOS) for this site for details. | |
Re: This graphic is not too helpful. Is this a programming project, or something else? | |
Re: Sorry, but we don't do your homework for you. Make an effort. Post the code here. And if it is an honest effort, we will help you. | |
Re: By default, deleting files on Linux systems will put the file/directory into the trash folder (works that way on Windows also). If you empty the trash folder, the files in that directory will be physically deleted. The reason for putting them there is that if you realize you didn't want … | |
Re: And you problem is??? | |
Re: They are totally different animals! Thread-safe means that multiple threads in one executable image can run the same functions without interfering with each other. Re-entrant means that you can have a function that can be recursively entered even before the previous invocation has finished. This is common for recursive algorithms … | |
Re: Exactly! Pass by value means the receiving function gets only a copy so changes to it are local only. Pass by reference means that the actual passed object is received by the function, so changes to it are visible outside of the function. It is much like passing a pointer … | |
Re: This is why we use surge suppressors! Chances are that many components on the motherboard and/or video card were fried with that surge. My system and peripherals are plugged into a UPS that is also a serious surge supressor (industrial strength). Brownouts can cause almost as much damage as a … | |
| |
Re: Try our friend Google... We don't do your homework for you. | |
Re: I have done massive amounts of log file processing in real time (millions of records per hour). Please be more clear on your objectives. What EXACTLY do you mean by "display 1000 logs coming from the server into 20 rows continuously"? You are processing 1000 log files/streams? You want to … | |
Re: Sounds like a school exercise. How long have you been working on this? | |
Re: The major problem that one must watch out for when using multiple inheritance is if more than one of the base classes are derived and one of their base classes is the same. Unless you use virtual inheritance, then you get two instances of that base-base class in each instance … | |
Re: I have had a 30+ year career in software engineering, and I have programmed in at least 2 or 3 dozen different computer languages. Logic is logic, and that is the key. Differences between languages are mostly syntax. Once you have mastered one, others will not be much of a … | |
Re: In the future, if you want to run Debian on a Window system then download and install VirtualBox. You can then install Debian or other Linux distributions in a virtual machine, avoiding the problems you incurred, and the wrath of your IT department. That's what I did at my last … | |
Re: Scalar expressions such as the first is more efficient as every time you do some math (especially division) in your code, it adds overhead. The only advantage here is if you can reduce your search space. In the second expression, instead of n/2, use n>>1, which is the same as … | |
Re: What distributions are you trying to install? These make no sense to me! I believe you have a bogus distribution. Have you tried Debian, Red Hat, Ubuntu, Mint, et al? | |
Re: A lot of laptops these days do not have a vga port, but either a DVI or HDMI port, though the principal remains the same. Unfortunately, not everyone in these situations has an external monitor that will mate with the laptop. That said, all-in-all the advice in the article is … | |
Re: What browser are you using? What operating system + version? Do you have personal firewall software running on the system? |
The End.