5,331 Posted Topics
Re: You aren't providing enough information. What kind of file? What did you do to "extract" the data? What is the source of this file and data? | |
Re: Ask Microsoft? They do have user forums where you could ask this. | |
Re: Part of your problem is that you are using the same name for the global Numero_de_Materias as well as the argument name for a number of functions. DON'T DO THAT! use different names. This is why I try to indicate that a variable is global with a leading g_Name or … | |
Re: Again, please DO NOT double (or triple) post in these forums. Remove this instance please. I have already answered one of these. | |
Re: Name: My First Loan Program Logo: A dollar sign with wings flying away | |
Re: First, this is not good: if ( ( CtPtr = fopen( "hardware.dat", "rb+" ) ) == NULL ) { if ( ( CtPtr = fopen( "hardware.dat", "wb" ) ) == NULL ); } In the second condition, it just falls through even if the file cannot be opened for write … | |
Re: We don't do your homework for you. Write the code, then post it here along with errors and problems. | |
Re: Here is the wikipedia article on it. It may help you understand what to do: http://en.wikipedia.org/wiki/Bucket_sort | |
Re: Sorry, but we don't do your homework for you. Read the terms of service for this site for more information. YOU write the code, test it, post it here for help when you get errors or incorrect behavior that you cannot solve, along with the errors and incorrect behavior that … | |
Re: What language depends upon a lot of things, such as the platform you want to target - computer, tablet, mobile phone, etc. as well as whether it's for Windows, Apple, Android, Linux, et al. Also, some parts may be one language (low-level stuff) and other parts another language (graphics, audio, … | |
Re: We don't do your homework for you. Since this is in the C++ forum, I expect you need to create the code (classes, methods, etc) in C++. Do that to solve the problem. If you make a real effort to solve the assignment and are still having problems, errors, etc. … | |
Re: Well, if it was working, and now isn't, then either some software update has munged the system, or you have a hardware failure. I would guess the latter (hardware). Most PC's have multiple USB hubs internally with separate connections and chips. You might try another port, or other ports, to … | |
Re: Your router has a range of IP addresses for DHCP and for local static addresses. You can only change your IP to another static address. If you change it to something in the DHCP range, you are going to have problems. | |
Re: Go to the disk management tool, create a partition on the drive, and then format it (with NTFS). | |
Re: If you are booting a recovery or live CD/DVD/USB drive, the system hard drive will not be mounted. Since you seem to be getting similar errors in these cases, you either have a memory or motherboard/CPU problem. | |
Re: What L7Sqr said, plus add formal logic. Without strong skills in boolean logic you are lost! I was an engineering major back before dinosaurs, and my philosophy class in formal logic has served me better than any programming or other software engineering or math class did for my career as … | |
![]() | Re: Seems pretty clear to me. You are calling functions that have not been defined as yet. A declaration is NOT a definition! You cannot call a function before it has been fully defined. |
Re: Know that EOL (End Of Life) on MS products is part of the Microsoft Income Protection Act... For companies wedded to MS products, switching to Linux is difficult and often not an option, so open up those checkbooks, or risk becoming the next source of malware for all of your … | |
Re: This effectively works, but is essentially a goto - not good programming practice. Usually you would use a termination flag in the for loop, set it when found, and you are done. | |
Re: Go to the control panel's add/remove programs page and look for the bitlocker entry. It should show the version there. | |
Re: Yes. It needs to be either of these two ways: `if (pin1 == pin && accnum1 == accnum)` or this `if ((pin1 == pin) && (accnum1 == accnum))` | |
Re: Yes. The biggest issue was not declaring FirstData variable as extern. As a result, a unique global variable would be created in each translation unit that included linklist.h, which caused the duplicate symbol error. | |
The new format is terrible. No editing of posts is apparently available, some old (in last 2 days) articles are not accessible (404 errors). My advice, as a senior systems engineer for a tier-one world-wide engineering company? Roll back to the old version until you sort out this cruft! Until … ![]() | |
Re: I use K3b - it is a front end for other command-line tools, but has a lot of options and handles the CL tools very well. I also use it to create and burn DVD's, CD's, and such. | |
Re: I think that CS is more academically oriented, and SE is more application oriented. Science vs. Engineering. You can't have engineering without the science. :-) IE, it is not hard for someone with a degree in CS to get a job as a software engineer. One of my best friends … | |
Re: Besides the MySQL connector, you may need the MySQL client on the client machines. Also, make sure that you are installing the correct MySQL Connector and Client versions. They may have already had a different version installed and that is still the default. | |
Re: Sometimes things just get stuck - not malware, just bugs. Kill the processes that are taking up the CPU and shut down the services that started them (if possible). Then, see if they are restarted or not. That may give you a clue as to what is going on. | |
Re: You need to show us the errors you are getting. What kreiger said is correct - that is an error. Also, on line 24 you are declaring a[] as an array with no size. This won't work, and is a situation where declaring a global or static constant for the … | |
![]() | Re: First, the default nVidia driver is the Nouveau driver (open source - ok but not great for high-performance video). Next, to install the proprietary driver that you download from nVidia, you need to blacklist the Nouveau driver, reset the system to boot into text mode (/etc/inittab). Then, boot into text … |
Re: If the CPU fan is working, you might want to check your memory sticks. There is a tool called lm_sensors that gives you access to the thermal detectors on the system - default available on Linux systems. I think there is something similar for Windows. It will tell you what … | |
Re: The std::swap function does use a temporary value when doing the swap, but the user doesn't need to worry about that. This is when standard tools can be helpful, and reduce the amount of code that the user needs to write. | |
Re: Show code please. This is basic computer science stuff. | |
Re: For more technical information and tutorials on random number generators, go here: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html Not what you need for your class, but good nontheless... :-) | |
The title is a take on Douglas Adams' quip in Hitch Hiker's Guide to the Galaxy, when the Earth was about to be plowed under for a hyperspace bypass, and the only really intelligent species on the planet, dolphins, squeaked "Goodbye, and thanks for all the fish!" as they left … | |
Re: This is a situation where posix threads may be more appropriate than fork/exec processes. | |
Re: What Dave said, plus, recursion also occurs when functionA calls functionB ... and finally functionX calls functionA again, before any of them return to their caller. These function stacks can become very deep, and difficult to debug. | |
Re: You only print the query about continuing or not (line 47), but you take no input to test in the ans variable (line 48). | |
Re: We don't do your homework for you. Make an honest attempt, post your code here, and we will be happy to critique it. | |
Re: Back in the "dark ages", when I needed to sort a linked list, I would put the nodes into an array, then use qsort to sort that, and then rebuild the list from the array. Worked well. Was simple. And it was quite fast. It also met the KISS principle. | |
Re: Glad to help! :-) Sometimes just asking the question leads us to the answer! | |
Re: Really! Please don't ask us to help you cheat! | |
Re: To install on Linux, you will need to build from source. Here is the link: http://downloads.volatilityfoundation.org/releases/2.4/volatility-2.4.tar.gz Download, untar with the command "tar -zxvf volatility-2.4.tar.gz". Go into the directory created. There may be a configure script. If so, run that as in "./configure". If that succeeds, then next run the make … | |
Re: Are you trying to write a tool that provides audio output for the user? | |
Re: Too much data to analyze in any reasonable amount of time. Reduce it to some reasonable subset around the point of the crash, along with other supporting data. FWIW, 250ms per snap is only 1/4 of a second. This is a lot of data to capture, and may be contributory … | |
Re: I won't repeat Schol-R-LEA's rant, but agree with it 100%. That said, make an effort. Show your work (code), along with where you are encountering problems. Then we may be able to help you. | |
Re: If you aren't a competent programmer, especially with Java skills, then you aren't going to become a good Android developer. Android Dalvik applications ARE Java. Focus on object-oriented design and programming, which is what Java is all about. Without the basics, you are going to be stuck with elementary skills. | |
Re: Asking people to debug 600+ lines of code isn't fair. Write out the algorithm you are using (pseudo code and logic you used), and where you think the problem is occuring in your code. Then we may be able to help. | |
Re: Each sprite should be an object, with a tick delay as part of its member variables. So, when you tell a sprite to "delayAndMove" (or something like that), it will set a timer to the internal tick delay, and then move. There are also other methods you can use. What … | |
Re: The isdigit() function is a standard C/C++ function that will tell you (true or false) if a character is a digit. Every C/C++ compiler should support this. In reality, usually these are macros that operate on ascii data. |
The End.