5,331 Posted Topics

Member Avatar for PulsarScript

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 …

Member Avatar for JamesCherrill
0
296
Member Avatar for ganges

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 …

Member Avatar for rubberman
0
197
Member Avatar for Noah Nowa

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.

Member Avatar for rubberman
0
220
Member Avatar for Brook_AD
Member Avatar for Azim_1

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 …

Member Avatar for rubberman
0
294
Member Avatar for ganges

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. …

Member Avatar for rubberman
0
254
Member Avatar for Chisanga_1

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 …

Member Avatar for Traevel
0
297
Member Avatar for Mr.M

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.

Member Avatar for rubberman
0
199
Member Avatar for Mark_54

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 …

Member Avatar for JamesCherrill
0
324
Member Avatar for Patrick_15

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.

Member Avatar for ssa-ed
0
337
Member Avatar for showman13

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?

Member Avatar for showman13
0
146
Member Avatar for Esmatullah

What rproffitt said. At the least, we need to see the code where you format and output your data.

Member Avatar for rubberman
0
327
Member Avatar for Daniel_59
Member Avatar for Mark_54

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 …

Member Avatar for Reverend Jim
0
441
Member Avatar for Sid_3
Re: c++

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.

Member Avatar for rubberman
0
312
Member Avatar for Benny Adams

Read Niklaus Wirth's seminal CS text "Algorithms + Data Structures = Programs". It has had an honored place on my bookshelf for many years.

Member Avatar for rubberman
0
109
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
529
Member Avatar for shlomo_1

You aren't providing enough information. Please post both pages here in their entirety.

Member Avatar for Andrea_4
0
211
Member Avatar for One-up

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 …

Member Avatar for rubberman
0
233
Member Avatar for Saboor880

What does the IDE log file tell you? Your post doesn't have enough information to help you.

Member Avatar for rubberman
0
416
Member Avatar for Hans_1

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?

Member Avatar for rproffitt
0
1K
Member Avatar for Mr.M

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.

Member Avatar for Mr.M
0
2K
Member Avatar for Arshad Syabrin

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) …

Member Avatar for rubberman
1
214
Member Avatar for Amanda_5

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.

Member Avatar for rubberman
0
310
Member Avatar for Dani

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for Nathan_7

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, …

Member Avatar for rubberman
0
257
Member Avatar for Dani

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 …

Member Avatar for rubberman
0
574
Member Avatar for will_9

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 …

Member Avatar for rubberman
0
358
Member Avatar for panduranga_1

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 …

Member Avatar for rubberman
0
449
Member Avatar for pramod_8

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 …

Member Avatar for AssertNull
0
444
Member Avatar for will_9
Member Avatar for rubberman
0
405
Member Avatar for Ritesh_4

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.

Member Avatar for rproffitt
0
395
Member Avatar for Corey_3

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.

Member Avatar for Gribouillis
0
712
Member Avatar for rproffitt

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 …

Member Avatar for rproffitt
0
256
Member Avatar for Cardlinc

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.

Member Avatar for Cardlinc
0
357
Member Avatar for Siberian
Member Avatar for <M/>

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) { …

Member Avatar for Vinu_2
0
891
Member Avatar for Nathan_6

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 …

Member Avatar for Nathan_6
0
199
Member Avatar for Vikram Sehgal

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!

Member Avatar for Vikram Sehgal
0
342
Member Avatar for vishal_13

As are 5 and 7 (primes). Post your code please. RSA algorithms are covered thoroughly in a lot of open source documents and code.

Member Avatar for rubberman
0
57
Member Avatar for RafaelSousa.13
Member Avatar for _1_5

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 …

Member Avatar for rubberman
0
364
Member Avatar for Arya_2
Member Avatar for priyanka.choudhary.90038

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 …

Member Avatar for rubberman
0
184
Member Avatar for יוחאי

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.

Member Avatar for rubberman
0
276
Member Avatar for Stefce

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 …

Member Avatar for Stefce
0
390
Member Avatar for meron seyoum

There are plenty of books, including online, which will cover those subjects for you. This forum is not a classroom.

Member Avatar for rubberman
0
319
Member Avatar for Nathan_6

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.

Member Avatar for rubberman
0
533
Member Avatar for kkvk

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.

Member Avatar for rubberman
0
665
Member Avatar for pezzinae

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, …

Member Avatar for rproffitt
0
242

The End.