What is the program doing wrong? You've got a mutex on thread 2 but don't you need one on thread 1 as well? What's to stop threads 1&2 operating...
Hmm, ok, so you want an idea that is completely original and not from anywhere on the internet, and you're asking someone on the internet to give...
Wow that's a really tough call - asking you to come up with a totally original idea for a game. Is he expecting everyone in the class to come up...
What happens if you use just "SELECT * FROM Name" instead of testCommand?
There are loads of small Unix utilities you can reimplement, try looking at the stuff you use daily - ls, cd, rm, mkdir, rmdir etc, and have a go...
tried the code in Visual Studio 2008. Reduced the code to: char *str="HellolleH"; printf("%s %s a...
How much RAM is the program allowed to use? Is it for instance allowed to store the whole file in memory? Is it OK to create a second file (an...
Units of cash per hour. So if Donald works 10 hours he gets paid 10x that, which is 32.50.
So the answer is 1. because the length of the number zero is 1. Or if you just want the length of 5^5000000000, that's easy enough too, with a...
Zero, because there is at least one person with a missing left hand.
Also please answer the questions asked. No answer is possible without this.
Doesn't seem too hard... First work out what the numbers mean. Which is hours worked, which is the rate and which is the age? Base pay: Does...
A crash means you have a programming error which you need to find and fix. This doesn't mean your approach is wrong. Maybe it ran out of stack....
I don't know if a query can be constructed that will return the results you want. It's a fairly easy problem to solve using some kind of...
Please use code blocks when you post code. You've been around long enough now to know about them. It makes code easier to read by preserving the...
TWO_TASK is an environment variable. If you set TWO_TASK=foo, then "sqlplus scott/tiger" is equivalent to "sqlplus scott/tiger@foo". If TWO_TASK...
How often will you need to perform the search? Is it a one-off find operation, or is this something you'll be doing frequently? I vaguely...
You're an idiot for taking the word of a complete stranger that they've checked Snopes. They haven't....
No, infotech will have been setup by your sys admin. Have a look at tnsnames.ora and you'll see how it's defined, not much of any interest in...
I thought it was because £39.95 is as good as £40, but £40 looks more expensive - shopper psychology - it's "UNDER FORTY QUID" - well, no, it IS...
Separate names with a comma.