5,331 Posted Topics
Re: Also, if you don't get errors, a copy of your output would be helpful. You say at the bottom of your code that you assume you have a problem in the try/catch block. Does it throw an exception? Are you catching it? Also, you have 2 try/catch blocks. Which is … | |
Re: Oracle was developed for Unix systems which use a backslash as an escape character. Try either a forward slash, or a double back-slash. I haven't run Oracle on Windows systems so I am surmising here. IE: try either c:/spool.txt or c:\\spool.txt and see what happens. Also, if you look at … | |
Re: You can build Java apps via Make, assuming you instruct the Makefile to use the javac compiler and not C/C++, but these days Ant is most commonly used to build Java apps; however, Ant can be called from a Makefile. I did this all the time at Nokia. | |
Re: Have you run chkdisk on these disks/partitions? | |
Re: C++ is great for enterprise-class large-scale systems, but you need a good foundation in object-oriented design and software development. Personally, I don't think the language you start with is that important. The fundamentals of problem deconstruction and partitioning are. I started with Fortran in engineering school, then learned BASIC, then … | |
Re: 1. Do a full cold shutdown - no sleep and no hibernate. 2. Restart the computer. 3. Get some compressed air and blow the dust out of the drive. 4. Try the CD/DVD drive again. If it works, it was a system software glitch or dirt on the read/write head. … | |
Re: Facial recognition is an extremely complex superset of pattern recognition. Even experts who have been working on and researching this field for decades are just now coming up with reasonable solutions. This is not an exercise for newbies. The math is not simple, and translating that into code is equally … | |
Re: Open Office uses a lot of Java, as does Libre Office, but they also use C++. In the mid-1980's I was director of engineering for a company that wrote a multi-user distributed office automation suite in C for the QNX operating system. Word processing, spreadsheet, database, etc. | |
Re: For the communication of code design issues, and the wheres and whyfores of your code, do some research into javadocs. There are patterns of commenting code so that the javadoc application tool can generate documentation of the code, interfaces, class structures, etc. As for packaging of your code, research the … | |
Re: Sounds like a short circuit on the mobo to me. Some of those are hard to find if you aren't an experienced computer tech or electrical engineer. | |
Re: Regular expressions like this can be more difficult to specify than doing something simple and obvious. IE, iterate over the string character by character and the first non-whitespace character has to be '?'. That is what you want, isn't it? | |
Re: What rproffitt said. At the least, we need to see the code where you format and output your data. | |
| |
Re: Don't just start by writing code. Yes, that is important, but more important is analysis, design, and systems modeling. Know what you want to do, in detail (analysis). Model it so that what you are thinking is expressed in concrete terms. Then, design of the system components, using the model … | |
Re: You need to redo lines 59-65 - the input is only taken once. It then becomes an endless loop unless you input 2 in the first place. | |
Re: Read Niklaus Wirth's seminal CS text "Algorithms + Data Structures = Programs". It has had an honored place on my bookshelf for many years. | |
Re: You don't indicate what hash algorithm(s) you are using. Most generate hash values as hexadecimal strings which you should be able to compare. I'm sure VB.net supports md5 as well as sha256 algorithms. md5 is much faster and is generally good for this purpose. sha256 is more commonly used for … | |
Re: You aren't providing enough information. Please post both pages here in their entirety. | |
Re: One suggestion is that you always put the numeric value on the left side of the expression. That way, if you accidentally use '=' instead of '==', the compiler will complain. IE: `else if (0.00 = grade && 64.99 >= grade)` This will generate a compiler error for the first … | |
Re: What does the IDE log file tell you? Your post doesn't have enough information to help you. | |
Re: 1. What OS and version are you using? 2. What programming language do you want to use? 3. How is the modem attached to the computer? Is it a serial modem, or USB? | |
Re: The error is saying that you are trying to access a NULL value, which results in a segfault. You need to determine which variable/argument has a null value. | |
![]() | Re: We don't do your homework for you. You need to analyze the problem and provided code and then decide upon an approach. Until you do, and make the code enhancements needed to fulfill the assignment, don't ask us to help. Once you do, and post your errors (compiler or runtime) … |
Re: As long as the PDF is not locked, there are a number of free editors. Try a Google search to find one that suits you. You can also do a short-term subscription to the cloud-based Adobe Acrobat PDF editor which for a month or so isn't too pricey. | |
Re: Also, a lot of web sites use multiple servers behind a "load balancer", most of which such as F5 devices, are round-robin and it is entirely possible for one request to get passed to a server under low-load, but the next to a server that is grinding away on other … | |
Re: Like James, I also did a considerable amount of Smalltalk development in the early 1990's. We were in the process of deciding whether to use ST or C++ for the development of FACTORYworks, a major semiconductor factory MES. We did a lot of prototyping in Smalltalk to prove our concepts, … | |
Re: Have you tried to convert the hex string to bin (hex2bin()) and then to base-36? Or the binary string to base-36. In any case, it must be a pretty big number to need the base-36 conversion to compress it. Some more information, and the original binary or hex string would … | |
Re: Ok. Show work! At least the function 'probsPerSet' has an argument signature that you can mutate to get different return types, such as: `void probsPerSet(int& result);` - your initial function. `void probsPerSet(double& result);` - an alternative function. etc. The compiler will happily sort these out for you, so if you … | |
Re: This is standard stuff. The main things are these: security, accessibility, security, security, security... :-) IE, don't try to do this if you are inexperienced in setting up internet network accessible servers in a secure manner. Accessibility is not so much a problem. You can either make your server fully … | |
Re: Not a good approach. Set up a Sieve of Aristhostenes array (I usually hard code a 10K array) for initial lookup - remembering that a%2 == 0 indicates the number is even, hence not prime. You only have to deal with odd numbers. If the number you are looking at … | |
Re: What AssertNull isn't saying (directly) is that you are breaking the KISS principal. :-) | |
Re: What host OS are you running? I have run XP and Win7 on my CentOS 6 Linux system without problems. Haven't tried Win8.x yet. | |
Re: I think you are also missing a terminating brace for the server `while (1)` loop. You are also missing a return value in server main. Even though the server never terminates, this should cause all current compilers to complain. | |
Re: This entire situation has gone way out-of-hand. Fix your iPhone with non-apple parts? Oops - it's now a brick. Fix your car or have it fixed at an independent shop? Sorry, but our (the car company's) gear and software are proprietary. Only the official factory dealership can do that! What … | |
Re: The simplest solution is to change your network's ssid to some unique name that will not likely be replicated somewhere else. You can keep your password. | |
Re: Have you looked into Amazon's S3 storage service? | |
Re: You need to scan into an integer value, not a string. Also, tell the user to enter a number instead of a string. IE: int main() { int num = 0; printf("Enter your number: "); fflush(stdout); scanf("%d", num); printf("Your number is %d\n", num); if (num % 2 == 0) { … | |
![]() | Re: You need to use a good graphics library that may have downloadable extensions to do what you want. Check out Qt. There are also some good gaming development platforms, but not being a game developer I can't personally recommend any. The good thing about Qt is that it is fully … ![]() |
Re: Assuming that line 4 is the contents of the function on line three, then your code is totally bogus. Is 'a' an instance of some class, and getdetail() a member function of that class? SHOW YOUR CODE! | |
Re: As are 5 and 7 (primes). Post your code please. RSA algorithms are covered thoroughly in a lot of open source documents and code. | |
Re: What happens if you boot from a Windows install CD/DVD? | |
Re: 1. Leave the loop out of getDescription() for Arrow derived classes. 2. Don't derive ArrowBundle from the Arrow class. 3. In main() for your choices, the arrow types should not be ArrowBundle types (see #2 above), but should be of the appropriate type (FireArrow or StandardArrow) added to the arrow … | |
Re: Please do not double-post here. If it was a mistake, you can delete one of them. | |
Re: You cannot do what you want in the matter of what you want. However, if your classes have factory methods, and are registered with a "global" factory, then you can create an instance of these derived classes by calling the factory construction methods with the name. Something like `ClassFactory.create("derived1")` assuming … | |
Re: Sorry, but we don't do your school work for you. Make an effort. Post your code and errors/problems you are having here and we may be able to help. | |
Re: In this code <?php foreach($currencies as $m => $value) { ?> <p><a href='#' type='submit' data-toggle='modal' data-target='#currencyModal'><?= $m; ?></a></p> <?php } ?>" You iterate through the entire array, so naturally you get the last $m and $value read. If you display all the keys and let the user choose which they … | |
Re: There are plenty of books, including online, which will cover those subjects for you. This forum is not a classroom. | |
![]() | Re: You don't show the code in your Territory destructor. Are you throwing an exception there? If so, then you need to declare that in the header. |
Re: Please put your xml in code blocks and make sure they are properly indented and nodes are on separate lines. No one wants to analyze this as is. | |
Re: What is your time worth (being self-employed it is worth more than if you were an employee with benefits, etc)? Multiply that by 475. Require half on delivery, and half on acceptance (they will need to test it out). Any changes that they require will add to the 475 hours, … |
The End.