-
Replied To a Post in Fuzzing - what to test so the probability of finding a bug is the greatest?
Some of the new mock tools are useful for unit testing software. I would like to see more of your "fuzzy" methodology that uncovered these bugs. Code is good... -
Gave Reputation to d8m9 in Fuzzing - what to test so the probability of finding a bug is the greatest?
Thank you for your recommendation. My apologies for not responding for a while. I chosed to fuzz Zip file format via intelligent brute force fuzzing method and found bugs in … -
Replied To a Post in Extremely large numbers
The Boost libraries support arbitrarily large (and arbitrary precision) numbers. This is not available "out-of-the-box" for systems, which is why that Boost does provide this. Note that Boost was originally … -
Replied To a Post in Help me to solve a question
Homework? Sorry, but we don't do it for you. This information is easily available with a simple Google search on the Internet. -
Replied To a Post in Calculate pi with c++
This is a great wikipedia article on the approximations of PI: https://en.wikipedia.org/wiki/Approximations_of_%CF%80 -
Replied To a Post in need help please
1. We don't do your homework for you. 2. See #1 3. See #2 . . . Post your work, errors, problems, etc and we may be able to help. -
Replied To a Post in Why does Windows XP refuse to die?
XP refuses to die because it is a zombie! You cannot kill a zombie - it is already dead... -
Replied To a Post in Anywhere Access to your server is blocked
Ok. Ports 443 and 80 are HTTP ports. Do you have any other web server running on your system? They would use those ports, possibly causing this problem. -
Replied To a Post in Finding mode in an array of strings
1. Sort the array (qsort works well for this). 2. Iterate through the sorted array and keep the pointer and incremented count in a separate array (one entry for each … -
Replied To a Post in do while and while do loop
Intentional programming. Always do what you intend. NEVER depend on some other service to do it for you if at all possible. Not explicitly returning 0 at the end of … -
Replied To a Post in shared memory in linux
If fork() returns 0, then the process that got that is the child, otherwise the forking process will get the child's pid, and it is the one that wants to … -
Replied To a Post in do while and while do loop
Ok deceptikon. I don't know since I ALWAYS return a value from main(). In many cases it is an error condition that occurred that the shell needs to know about. … -
Replied To a Post in Symbol While Debugging?
If you want to debug system files, then you need the debuggable versions of those files (dll's mostly) that still have the source symbols in them. Normally, system dll's don't … -
Replied To a Post in shared memory in linux
And what problems, specifically are you having? From the title of this post, you seem to think that shared memory is a problem? Why do you think that? Please be … -
Replied To a Post in Thinking About Switching To An Ethernet Connection
The more WiFi connection on your local network, the slower things get. A hard-wired connection will be the most stable, internet lags and such notwithstanding. Those you cannot control, but … -
Replied To a Post in question about fopen
"The nice thing about standards, is that there are so many!" So, when writing code, be clear, explicit, and consistent! -
Replied To a Post in do while and while do loop
@Nathan - Ok, but I prefer to never leave things to chance. Not all compilers are so compliant... -
Gave Reputation to Moschops in do while and while do loop
> the condition will always evaluate to false. Gosh, will it really? -
Replied To a Post in Run Time Calculation
It depends upon the system. Linux can handle timing in the nanosecond realm. You need to run both algorithms many times, accumulate the time, and then compare. Just comparing on … -
Replied To a Post in fstream problems, Again!
When it answers "NO", you still fall through to process the invalid handle. You need a conditional to detect that and either emit an error message, or throw an exception. -
Replied To a Post in cryptolocker ? encrypted files
Never pay these thieves a penny! It's like leaving cheese out for the rats. They won't leave you alone! There are some of these malware encrypted systems that can be … -
Replied To a Post in Symbol While Debugging?
Your question is not clear. Please be more specific. Symbols are embedded in object and executable code until they are stripped, usually in order to reduce the physical size of … -
Replied To a Post in cannot retrieve metalink for repository
Ok. Since you are using yum as a package manager, that means that you are trying to install this on a Red Hat or clone system. Please provide the specifics … -
Replied To a Post in Help with possible infection
Almost 800 lines of scan output? Please reduce it to the entries you thing are problematic. My time costs my clients $200 USD per hour. Be respectful that we are … -
Replied To a Post in Structure problem
You can initialize a structure, or array of structures, with memset(). Example: #include <stdio.h> #include <iostream> struct MyStruct { string name; string address; string mobno; }; int main(void) { struct … -
Replied To a Post in software to be used in developing a virtual online like home designing
Those are typically the tools you use to develop web applications like this. PHP on the server side handles the "heavy lifting". Javascript on the client will handle most of … -
Replied To a Post in How to calculate delay in android smartphone
All phones should get their time from the cell tower/service (by default) which is normally syncronized to the global time service (network time protocol). So, normally, you should NOT have … -
Replied To a Post in programming
Ok. Post your questions, code, errors, and problems (incorrect results or output) here and we will help if possible. -
Replied To a Post in do while and while do loop
Your example will output the data and then return (you forgot the return statement, btw) because the condition will always evaluate to false. If you stated it as a while()... … -
Replied To a Post in Suggest best lenovo laptop for dual boot purpose
Don't dual boot. Have a good host OS and then run other operating systems in virtual machines. Current systems, especially ones built for Windows, don't play nice for dual booting … -
Replied To a Post in Most people using which Linux OS at present.
It depends upon the usage. For personal and gaming systems, mostly Debian and derivatives (Ubuntu, Mint, et al). For enterprise servers, mostly RHEL and clones (CentOS, Scientific Linux, Oracle Linux). -
Replied To a Post in Step count algorithm in Objective-C
I'm not sure there is much we can help you with here. Part of the issue with algorithm development is the math and the logic. If you aren't strong with … -
Replied To a Post in software to be used in developing a virtual online like home designing
If you are doing this as an online project, then for the server use PHP, and DO use it as a C++ like object oriented language! On the client, you … -
Replied To a Post in Doubt on Inheritance.
If the PracticeTest class inherits from Task, then you can use it to initialize a Task variable. However, you won't be able to use PracticeText methods unless they were also … -
Replied To a Post in What type of media converter support on what type of Fiber
Media converter? Such as gigabit ethernet to fiber? Go to www.blackbox.com. They have lots of such stuff. And yes, you would need two converters - one to go from ethernet … -
Replied To a Post in Assembled CPU
If you aren't technically astute and haven't built a system before, then either buy a pre-built one with the features you want, or find a local white-box builder (computer store) … -
Replied To a Post in Thinking About Switching To An Ethernet Connection
Most routers have 100mbps ethernet links, so if your WiFi is 802.11n, it will have close to that speed. The advantages of a wired connection are these: 1. More reliable … -
Replied To a Post in Why day,month ,years ??
Per David W's post, modular arithmetic returns the remainer of a division operation, so 4%2 is the remainder of 4/2 which is 0. If there are 30 days in a … -
Replied To a Post in arrays
And remember, we don't do your homework for you. We get really cranky when people post the assignment, but not their work... -
Replied To a Post in if else condition
So, are you having a problem? The code looks ok, functionally, although you should probably add conditions that test for equality as your code won't trigger if it finds an … -
Replied To a Post in Unlocking iphone
You might be able to get it unlocked at an Apple Store, or if you know who the original vendor was (AT&T et al), you could go to one of … -
Replied To a Post in Project Euler - 05
Yes, I can see that it can be a good teaching tool. Enjoy! I hope we have helped you in your self-education endeavors. I always say, never let school get … -
Replied To a Post in will someone help me real badly
Joke: I can easily help you "badly". Helping you well (good) is another problem! :-) FWIW, JamesCherrill usually gives good advice. Also, read stultuske's comment about Random(N). IE, create one … -
Replied To a Post in Auto run/graphics
How depends upon the operating system. If it is a simple program, then with Windows, you add it to your Start menu. If Linux, you can add it to /etc/rc.local. … -
Replied To a Post in Project Euler - 04
Some nit-picking here. Your functions set global variables instead of returning values. Change that so that the results of a functional computation is returned without setting a global variable. Your … -
Gave Reputation to tinstaafl in Project Euler - 08
I would suggest not, since the maximum value you might encounter is 9 to the power of 13, which will need a structure that big. Creating an integer from a … -
Replied To a Post in Project Euler - 08
@tinstaafl - an interesting adaptation, though I think that even (slightly less than) ~1000 computations will, on current processors, not take enough time to measure, or at least to bother … -
Replied To a Post in Project Euler - 08
Here is the results I come up with: `9*9*9*9*9*9*9*9*9*9*9*9*9` (9^13) == 2541865828329, which definitely requires an unsigned long long. When I tried a simple long unsigned value, the compiler (gcc … -
Replied To a Post in Why day,month ,years ??
Also, please avoid duplicate posts. Your question (?) has already been answered in your other post. -
Replied To a Post in Why day,month ,years ??
And BTW, years != month/12, unless you are talking about the total number of months beyond or == 12, so you should say: (months~=total_days/30;), (years=total_months/12;), (day_of_the_month~=total_days%30). Remember the approximate symbol …
The End.