Author Archive
Posted on March 7, 2010 - by Don
Extended Euclidean Algorithm in C++
Writing an Extended Euclidean Calculator that calculates the inverse of a modulus can get pretty difficult. However writing a good algorithm and going through step by step can make the process so much easier. So we want to find a’ or inverse of a so that a * a’ [=] 1 (mod b). In other words we are trying to find an integer (a’) when multiplied by a and then divided by b gives you a remainder of 1. In order to find this number(a’), we have to work the Euclidean Algorithm backwards which is referred to as the Extended Euclidean Algorithm.
Posted on March 6, 2010 - by Don
Modular Exponentiation in C++
Modular Exponentiation is way of calculating the remainder when dividing an integer b (Base) by another integer m (Modulus) raised to the power e(Exponent). Fast modular exponentiation of large numbers is used all the time in RSA to encrypt/decrypt private information over the internet. Whenever you go to a secure site you are using RSA which deals with modular exponentiation.So lets understand modular exponentiation with c++!
Posted on March 6, 2010 - by Don
Fibonacci Calculator C++
The fibonacci sequence is as follows :
Each successive number is equal to the sum of the two preceding numbers. If you wanted to find the 5th number of the sequence it would be 5.
| F0 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | ||||||||
| 0 | 1 | 1 | 2 | 3 | 5 | 8 | 13 | 21 | 34 | 55 | 89 | 144 |
This program is implemented with a double linked list. Each Fibonacci number stored as a sequence of integers inside of a list. For example to calculate the 6th number of the Fibonacci sequence it would start out with f1 and f2 lists that have a single node with 1 inside.
Posted on November 11, 2009 - by Don
Make Money from Home
Making money from home is something I have always been skeptical about. Believe it or not there are sites out there that are legit and can make you some extra cash. Some sites compensate you for your time and attention with prizes.(swagbucks.com)Most get rich quick ideas are scams and should be avoided. But there really are sites that you can trust. I will give you the sites I have personally used and know to be legit. I will also show you how use their affiliate programs to really get you going on making that extra cash.
(more…)
Posted on November 11, 2009 - by Don
Free Stuff With Swagbucks
Get free stuff for searching the internet! Swagbucks.com is a site designed to compensate people for using their site to do their day to day searching with swagbucks. You can use these so called swagbucks for gift cards, prizes, or even trade in for cash. Some examples of what you can redeem your swagbucks for are:
- 70SB – $5 cash in Paypal
- 60SB – The Office Season 5
- Many other prizes
TIPS & HINTS
- Use the search engine for all your searches
- Use the widget that will notify you 95% of the time when swagcodes are available
- Refer friends to help you out. Sign them up through your referral link. You will get each point your friend gets from the searches.
Instructions
1. Go here and sign up. You will get 3 free swagbucks complimentary of goodies4uall.com
2. Start searching. (After about 3 valid searches you will get another swagbuck. Do not search randomly as it can decrease your chances of winning)
Posted on September 28, 2009 - by Don
Monopoly City Streets Hack
Monopoly City Streets Vulnerability
The first thing I noticed with this online game is how easy it is to hack other accounts. Normally when you forget your password it is a matter of answering a secret question and the password is emailed to the email on the account. However since monopoly city streets does not require an email address to sign up, it is just a matter of guessing the answer to your secret question. What makes it even easier is there is only one secret question! What is your pet’s name? With just a few common pet names, it doesn’t take long for one to answer that question and be able to change the person’s password.
Posted on July 14, 2009 - by Don
Top Web Hosting Sites
The top web hosting site depends on price, customer support, dependability, and ease of use; in that specific order. I will review Hostmonster, Bluehost, and ThinkHost so you can decide for yourself who to host your new blog or website. (more…)
Posted on July 10, 2009 - by Don
How do I search for a filename in c++
Are you writing a program and need to know how to search for a specific file name? After searching around at msdn.microsoft.com and some trial and error I can show you how. I will be using FindFirstFile and FindNextFile to do my search. (more…)
Posted on June 27, 2009 - by Don
What Xbox 360 DVD Drive do I have?
Why would you want to find out what model you have? Well if you wanted to flash your xbox you need to know. The good news is you can find out the model of your xbox 360 dvd drive without voiding your warranty. There are three different models. First you need to look at the tray. (more…)
Posted on June 25, 2009 - by Don
Looks to Die For
Looks to Die For
Indoor tanning is a refreshing and relaxing experience. Americans alone spend $5 billion annually at roughly 40,000 locations (Bizzozero). The tanning bed has made the dream of a healthier and sexier body realistic. However these rewards come at a price. Tanning is directly linked to skin cancer. It has also been known to be addictive; not a very cheap addiction either. Those that tan often find a dent in their checking account. Although tanning beds can be a pleasant experience, overall it is dangerous to your body and shouldn’t be something in your daily schedule. (more…)






