-
Replied To a Post in PC powers off ocassionally
You have a hardware failure. Remove the disc drives and send it in for repair. If you send it in with the drives, they will probably reformat them, unless you … -
Replied To a Post in data file that can only be accessed by program
In Unix/Linux and similar systems, you can set the file's attributes so that ONLY the owner or administrator (root) can access the file. As for program access only, then the … -
Replied To a Post in sin x expansion
Sorry, but we don't do your homework for you. Please write the code, and post it here. Then we may be inclined to help sort out your problems. -
Replied To a Post in return value of a binary tree insert function
It depends upon your intention. Normally in recursive functions you would do this (assuming you don't want duplicate numbers): node* insert_in_tree(int number,node* p_tree) { if(p_tree == 0) { p_tree = … -
Replied To a Post in Airline Reservation Syetem In Java?
"Thanks for replying. Indeed,it is a school project and I don't need the code written. I just needed a heads up and your comment helped me that way. I will … -
Replied To a Post in 64bit questions
Oops. Double posted... :-( -
Replied To a Post in 64bit questions
The system shutdown and sleep/hibernate/wakeup stuff is a known issue with some Linux 3.x kernels. This has been an ongoing work in progress. I think that some of the newest … -
Replied To a Post in Paypal IPN php mysql question
Ok. That may help narrow the possibilities somewhat. It is getting late here now. I will look at this again tomorrow. -
Replied To a Post in aa
Huh? What are you getting at? In Intel processor assembler code, DS represents the "Data Segment". I have no clue if that is what you are looking for. -
Replied To a Post in Need help with Radio Buttons!!
This is not C++. What are the '^' tokens doing in the argument list? Also, is rbFromInches->Checked a member variable, or a method. You are using it as a variable. … -
Replied To a Post in triangle wave uva questions
So, you post code, but ask no question. What is it? -
Replied To a Post in File Association - Complete Deployment
You need a Java native code compiler. Java normally compiles to JVM byte code, and can use the Just In Time (JIT) internal compiler of the JVM to convert your … -
Replied To a Post in tower of hanoi
Alan, you are on a roll here! See my other reply to your posting about shell programming. Once again, we don't do your homework for you, but will help you … -
Replied To a Post in create a shell script
From your post it appears that you are running Linux/Unix, right? You are writing a bash script? If this is so, study the bash man page: man bash - that … -
Replied To a Post in Globe generator?
There are plenty of programs to do that. Programming from scratch something like this is NOT an exercise for a "noob"... :-) Remember, Google is your friend! You also do … -
Replied To a Post in Airline Reservation Syetem In Java?
Is this a school project? We won't write your code for you, but we will help you sort it out if you make a reasonable attempt at solving the problem. … -
Replied To a Post in How to replace a word from a specific location of a file in c++
Once you have read the target word and written the replacement into the output file, you can read/write the rest of the source file into the output file, in chunks, … -
Replied To a Post in Be curious. Security patch Microsoft updates to XP and the user has what re
Generally I agree with gerbil; however, I do set my update policies to *inform me* when updates are available. Then, I go to the MS update site, and individually decide … -
Replied To a Post in Paypal IPN php mysql question
Ok. It may be some other thing. Is the code talking to the database, but you are just getting empty columns there, or is it the php code that has … -
Replied To a Post in Paypal IPN php mysql question
I'll have to look closely at the code later. Exactly what IS the problem? Why should logging care whether test mode is true or false? You definitely want to log … -
Replied To a Post in Confusing error suddenly appearing
If you have backup copies of all of your web pages and application files, then run a checksum (cksum, md5sum, etc) on both the backups and the ones that are … -
Replied To a Post in Internet connected but browsers wont connect
Is this Win 7, or 8? That will probably make a difference. Have you tried booting the recovery partition to reinstall the OS (after backing up all your data, of … -
Replied To a Post in Need server recommendation
Ok. Clearer now... I was just trying to give you my best advice based upon what you had said. Time is an issue, but that wasn't clear in your post. … -
Gave Reputation to Ancient Dragon in jack-en-poy codes please..
Here[Click Here](http://lmgtfy.com/?q=rock+paper+scissors+c+program) you go. -
Replied To a Post in Real Time Traffic Softwares and Maps
Google Maps, Nokia Here, etc. Google Maps is pretty ubiquitous. Nokia maps are more for the mobile domain such as cell phones, GPS devices, and automotive navigation systems. FWIW, Nokia … -
Replied To a Post in c++
On most current 64-bit systems, a long int is 64 bits and an int is 32 bits. However, as AD said, look in /usr/include/limits.h (Unix/Linux), or wherever limits.h is found … -
Gave Reputation to mike_2000_17 in Designing a circuit from a given truth table
I just wanted to point this out. There is a very important error in the truth table that you posted, it should be this: A B C D Y 0 … -
Replied To a Post in Does not come under scope error
This is because the function "threadfunc()" is not a member of the class test. You need to pass threadfunc() an argument to fun. Example: void test :: start() { pthread_create(...,threadfunc, … -
Replied To a Post in Technical seminar topic
Topics - there is not just one. 1. Cloud computing 2. Large scale distributed systems and computations 3. Big Data and complex analytics 4. Mobile computing 5. Computer and network … -
Replied To a Post in Please help
As moschops said. Also, in modern compilers you would use either stdout, or stderr. One other thing. It is good practice to initialize external variables such as page and line … -
Replied To a Post in from c++ source code to pdfviewer
This is not clear enough. If you have C++ code to run, of course you need to compile it before using it. What do you mean by a pdf viewer … -
Replied To a Post in inline function
"STATEMENTS IN THE FUNCTION ARE SUBSTITUTED WHENEVER THE FUNCTION IS CALLED." This is very true, but the only thing on the stack would be automatic variables in the function. The … -
Replied To a Post in Can't understand: type* var vs type *var
I agree with Mike that the preferable construct is `int* var` - indicating that it is an integer pointer, which is an actual type. Moving the `*` to either next … -
Replied To a Post in user input
What Moschops said, for C++, but you CAN use a C construct, const char* for the variables, and then assign a new string to them. Example: const char* FileToInject = … -
Replied To a Post in Ubuntu Shell Space
Why the backslash? Linux file names can have spaces in them. However, when you invoke the name, place double quotes around the $SCHOOL variable. IE: SCHOOL="/home/stephen/Steve's Stuff/School" mkdir "$SCHOOL" cd … -
Replied To a Post in Need server recommendation
I would recommend building a whitebox. Get a good case with lots of cooling, a 1000watt power supply, an Intel workstation/server motherboard, one or two 6 core CPUs, 8-16GB of … -
Replied To a Post in How to enable a port in ClearOS Firewall
That port may be blocked by your company's firewall. Check with your network operations people. You may need to go through a proxy server to get to it, and they … -
Replied To a Post in how to match a fingerprint from database?
Good luck! This is a non-trivial problem, and requires significant pattern analysis and statistical skills to solve. You can never say with 100% certainty that a particular fingerprint matches a … -
Replied To a Post in Auto-detect GPU
What operating system are you running? This is critical because each has functions to do this, but they are very different in approach. What you would do with Windows is … -
Replied To a Post in databases
SQL Server is basically Sybase with warts. Please provide examples - input and subsequent output. Also, provide information about the API's that your are using, language (C, C++, C#, whatever), … -
Replied To a Post in I have a programming question how would a person sell software?
I hope you have a good (great) attorney. If you sold an app that does A to Google (or whoever) for a gazillion $$, then write one that does something … -
Replied To a Post in hard exercise
Seems clear to me. Set up array of 3 files to read. Fork 3 child processes (see fork/exec man pages), each of which reads one of the files. Each sleeps … -
Replied To a Post in arrays
@richieking is being sarcastic. What he is saying, in plain English, is that we do not do your homework for you. We will help you, point out obvious errors, and … -
Replied To a Post in The “Fraction Calculator†Assignment
Ok. We don't do your homework for you. Do you understand C++ passing function arguments by value vs. passing them by reference? If not, let's start there. If you do, … -
Replied To a Post in C# Final Year Project
C# is, like C++ and Java, an object-oriented language. Think about classes (things), methods (how to affect those things), and member variables (bits of the thing). Then, use a modeling … -
Replied To a Post in Windows Devs Only: Should I learn Power Shell?
I vote for subtropical gardening! At least it is warmer there than where I am right now (minus 3 F). That said, shell scripting is important if you are going … -
Replied To a Post in Designing a circuit from a given truth table
Not doing your homework for you, but will give a clue, think bit-wise comparisons based upon some bit of information in your "truth table". -
Replied To a Post in Big data on a shoestring: New, refurbished, or custom build
Don't bother with the expense of building your own gear. Rent time on a large Amazon cloud system to do the analysis. When you are don't, you shut it down … -
Replied To a Post in Deduplication
Did you read this first? http://opendedup.org/quickstart -
Replied To a Post in Copying even numbered files in linux through terminal
Your example gets those that start with an even number, not the ones that have an even number at the end of the number string. IE, it will properly return …
The End.