Tuesday, January 29, 2008

Some project ideas in C++

Here is a collection of project ideas that can be easily implemented in c++ to try your hands at the game.. I will list them in order of difficulty (low to high)
  1. Basic operator overloading - try creating as many as possible combinations of function name and rest of the function signature - purely syntactical exercise.
  2. Create a function that can convert an "int" type into a "string" containing the Binary representation and vice-versa.
  3. Implement a rotated array solver - a rotated array means the elements of a "sorted" array are rotated and wrapped around from last position to 0th by rotating factor - 'r'
    1. So after rotation, the array's element Ai will be at ( ( i + r ) % arraylength ). Now suppose you are given such an array, which is already rotated by some unknown rotation factor - 'r', create a function to bring the array to original sorted form without using sorting directly. Keep in mind performance parameters in terms of speed and memory and elegance of code.

Labels:

2 Comments:

At 6:36 PM, Blogger barb michelen said...

Hello I just entered before I have to leave to the airport, it's been very nice to meet you, if you want here is the site I told you about where I type some stuff and make good money (I work from home): here it is

 
At 8:45 AM, Blogger Bob Matharoo said...

Hello, your site was added to the AWESOME BLOG LISTING at
http://dreadbob.blogspot.com/2007/05/listing-of-awesome-blogs-on-web.html ... at place '353' .

if you cant see your site now in this list please be patient it will be visible after few seconds...
hope this listing will increase your site popularity...

 

Post a Comment

<< Home