-
Replied To a Post in Why day,month ,years ??
1. 30 days has September, April, June, and November. 2. All the rest have 31 except February which has 28 unless it is a leap year, in which case it … -
Gave Reputation to Schol-R-LEA in Muluplication
For the sake of readability, let's start by separating the class declarations and implementations from the main program, and get the whole into some semblance of a consistent indentation: **matrix-list.h** … -
Replied To a Post in Project Euler - 05
Working out efficient algorithms is a key part of computer science. Good math skills helps. Also, don't be afraid of trying other approaches to solving the problem at hand. As … -
Replied To a Post in Project Euler - 06
I used to do this all the time when I was researching public key encryption and Goedel algorithms. I would create an array of 10K elements that included all of … -
Replied To a Post in gateway lt2016u wont start at all..
Accidentally removing the power like that can damage system files or the hard drive. When you say it won't boot, do you get the boot POST (power-on self test) that … -
Replied To a Post in Using Memoization Instead of Recursion
So, do you have a problem, or are just showing off? :-) Sorry, couldn't help myself! For some problems, recursion is simple and elegant. There are classes of problem where … -
Replied To a Post in windows 7: the help window is always opening :(
It depends upon the system. Usually you need to access the computer manufacturer/vendor's website and support page for such information. In some systems, you can do that by removing the … -
Replied To a Post in Time complixity
@saifN - your post makes little sense to me. You are declaring a function that takes an argument 'n', and only has a statement 's' in the body. No operations. … -
Replied To a Post in pls help
What Ene said. We don't do your homework for you. Post code, errors, and problems. Then we may help you. -
Gave Reputation to Suzie999 in Let's Play a Game - find bugs in popular open-source projects
Sounds like a recruitment drive to get more people working on projects. Much like the [last one you posted](https://www.daniweb.com/business-exchange/show-off-your-projects/threads/485875/c-lets-play-a-game). -
Replied To a Post in Have Apple OS X users taken the blue pill?
Part of the problem with Mac systems is that the default user has admin privileges, much like Windows systems do by default, so malware can install software that can bypass … -
Replied To a Post in windows 7: the help window is always opening :(
How did you format the laptop? Also, did you clear/reset the BIOS flash memory as well, and as part of the refomatting, include the boot sector, or just the NTFS … -
Replied To a Post in Getting status information from a UM245R USB interface module
Have you read this in detail yet? http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_UM245R.pdf Use the **Code** block to post your code. Just make sure your code is properly braced and indented. I assume you are … -
Replied To a Post in s7 AddThis malware
Switch to Linux? Not an option I suppose... Back up data to external drive. Scan and clean the drive for malware by another (uninfected) system. Wipe your system drive. Reinstall … -
Replied To a Post in I need a little help
Keep a count with the target_strings (terms) in a map. If you get results from a search term, you take pResults + 1 and search again, adding to the count … -
Replied To a Post in I need a little help
The strstr() function returns a pointer to the start of the results string that matches the target string in the source string. Since they are both pointers, you simply subtract … -
Replied To a Post in I need a little help
1. Read the data file into a single string, replacing new lines with spaces. 2. For each string in the query file, use strstr() to find the position in the … -
Replied To a Post in Netbeans C++ Random number generator
Read this tutorial on random number generators and you will understand better how all this works: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html -
Replied To a Post in Netbeans C++ Random number generator
Read this tutorial on random number generators and you will understand better how all this works: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html -
Replied To a Post in Is this correct or not ...(Discrete Math)
So, is there a question here? Or are you just showing off? -
Replied To a Post in Confused about pragma for in OpenMP using C++
Sorry, but I haven't used OpenMP for about 20 years... Try the OpenMP user forums, assuming there are some. FWIW, OpenMP is good to distribute computations over multiple discrete systems, … -
Replied To a Post in Step by Step --Describe the output in C++
And your problem is? From your code, when the program ends, the destructor for class A should be called for each instance, generating something like this: X=30,Y=40 X=10,Y=10 X=20,Y=50 Note … -
Replied To a Post in PLEASE SHOW ME C++ CODE
Make effort. Post code. Post errors and problems. Not doing your homework for you, as per AleMonteiro. -
Replied To a Post in First time posting (please bear with me)
Then to do that backwards: for (int i = value.length()-1; i >= 0; i--) { char currentChar = value[i]; // do something with the char if you like } -
Gave Reputation to Slavi in Difference between 32bit and 64 bit OS
Practically implemented (limited to) the address space is 2^48 as far as I remember in numbers, which was something like 400TB?(can't remember) but will definitely be enough for awhile (y) -
Replied To a Post in MS Windows and UNIX?
Actually, if your PATH environment includes the cygwin bin directory, then you should be able to run vi (vi.exe) from the command line. It should start up the cygwin services … -
Replied To a Post in Restuarant digital menu
Well, you should make a class for the food, and some if its properties would be things like you describe, such as health benefits, other foods that compliment it, etc. … -
Replied To a Post in Restuarant digital menu
So, what is your problem? What do you think it needs to make it "better"? -
Replied To a Post in c program for sensor
This is not enough to go on. Are these sensors built into your computer? External sensors with some sort of network connectivity? What? Have you contacted the sensor manufacturer's web … -
Replied To a Post in Programming Challenge
Please read the terms of service/use for these forums. We do not do your homework for you. When you have written the code to solve the assignment, and you are … -
Replied To a Post in sdcc Makefile
This is a cross-platform build. You will need the GCC cross-platorm tool-chain to build this code, and DO NOT try to install the binaries on your Apple system unless you … -
Replied To a Post in warning: variable set but not used
This is a common compiler issue with new programs. If you intend to use that variable in the future, then just comment it out for now if you want to … -
Replied To a Post in computer shuts off after 15 min
One last question. Does it shut down after 15 minutes of user inactivity? Does it keep running if you keep "diddling" the system and running programs? If either is the … -
Replied To a Post in MS Windows and UNIX?
On Windows systems, Cygwin provides a Linux-type command environment with all the usual tools, including GCC compilers, bash shell, c-shell, and such. It works very well. I used to use … -
Replied To a Post in Difference between 32bit and 64 bit OS
Most current 64-bit processors can run either 32-bit or 64-bit operating systems. As noted, a 32-bit one can only handle about 4GB of RAM whereas a 64-bit one can handle … -
Replied To a Post in Need help in unicode
I first started using Unicode back around 1989-1990 before it became a standard in order to support our Korean customers and provide help and other system messages in Hangul. Not … -
Replied To a Post in How to Connect eclipse and mysql connection using android?
Also, your app can talk to a web server running PHP, which can easily access a MySQL database. In any case, you DO NOT want to run the database on … -
Replied To a Post in XML SCHEMA
So, post your C code and I can probably help you solve this conundrum. I have been using XML and C/C++ for over 15 years. -
Replied To a Post in Blocking DLL
My advice? Just build optimized code and strip it before shipping. Trying to make it impossible to reverse engineer is a waste of time and resources. Yes, you could encrypt … -
Replied To a Post in Fibonacci and Scheme
Scheme is basically Lisp. Sounds like you need to do some more study here. This may not be school work, but it looks a lot like homework for a course … -
Replied To a Post in Access NAS via Cloud service ?
How you do it depends upon your operating system - Windows or Linux. It is time for you to do some research. It isn't too difficult, but in order for … -
Replied To a Post in i'm busted
@Slavi - yes Linux has its malware, mostly targeted at commercial enterprise systems, but it is much more difficult to pwn than Windows for one simple reason. When you set … -
Replied To a Post in When sony xperia z have lolipop update ?
Check with Sony. And in the future, DO NOT buy Sony products! Once upon a time, they were great (I still have Sony audio tape recording and minidisc products), but … -
Replied To a Post in Low-level formatting?
This may or may not be relevant, but there are viruses / malware that can be installed in an onboard disc controller. Since whenever you attach the drive to your … -
Replied To a Post in i'm busted
Yeah. You're busted, with one of those "We are the authorities and we have detected your illegal activities. Pay us a fine or you'll go to gaol!" viruses. Time to … -
Replied To a Post in Best Anti virus for my PC
For Windows systems I use ClamWin (ClamAV on Linux). It is free, open source, and the basis for most industrial strength AV appliances out there. It doesn't do on-load scanning, … -
Replied To a Post in Sql to multidimensional array
Please don't make multiple identical posts. Not good forum etiquette, plus it makes it difficult for people to collaborate when the answer is non-trivial, as this one is. -
Replied To a Post in How to compare string between two files
What kind of shell? Windows shell? Linux/Unix bash, korn, csh, sh? What? -
Replied To a Post in Access NAS via Cloud service ?
You would probably need to set up routing in the computer the modem is attached to. Also, you need the modem's IP address, which if it is dynamic (not a … -
Replied To a Post in How to retrive data from a not working hardware?
What do you mean by "not working hardware". Are you speaking about the computer system itself, or do you mean the disc. If the disc is still functional, data should …
The End.