C and C++ Programming Blog
RSS Feed

Quicksort in C Programming Language

Sunday, 16 March 2008 07:42
Quicksort is a well-known sorting algorithm developed by C.A.R. Hoare: Quicksort. Computer Journal, Vol. 5, 1, 10-15 (1962). Quicksort is said to be the fastest sorting algorithm in practice. On average it makes Θ(nlogn) (big O notation) comparisons to sort n items, but in the worst cases it isas slow as bubble sort. Visually you can see below that how quicksort works (divide and conquer strategy). More...

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Top Programming tips for C and C++ Programmers

Saturday, 15 March 2008 07:38

Today I will discuss top coding tips which can be applied to any particular programming language. Also the tips will help you to write self documented programs which are easy to maintain and understand by anyone. 

Design first then code

Days are gone when we use to take pen and paper and write the pseudo code first draw the flow diagrams of the program. And at the end write the code on computer. Days are changed but still we need to apply SDLC (Software Development Life Cycle) on every program we create. This makes the program bug/error free as well as maintenance easy. I suggest you read Martin Fowler's excellent article Is Design Dead? which explains it in more details. More...

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Wallpapers for everyone

Wednesday, 27 February 2008 07:30
Categories:
After a long time I decided to change the wallpaper from my desktop. The previous wallpaper was of my favorite actress Priety Zinta from Bollywood. I spend quite a good time while searching for nicely designed website. One of the really good design I came across is Bartelme Design and I managed to make these wallpapers with the help of Wallpaper Development Kit 3. Here are the three different flavours of the wallapers and I am sure that one of them would fit on your desktop. The blue one is the one I really liked and really looks cool on my Windows XP desktop with Energy Blue theme.More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Programming Mouse in C and C++

Monday, 18 February 2008 07:28

I was quite busy for the past few days in preparing some reports for my university, but was feeling a bit free today. I was thinking about what to write today. Having browsing throught the forums and few webpages I thought of writing about mouse programming in C and C++. I have written many programs, about programming mouse in C, before and explained the theory as well.

So what's today? Today I will provide some links about mouse programming and little description about those tutorials.More...

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Learning Computer Programming - What would you know?

Thursday, 14 February 2008 07:25

While looking around the internet I come across a video tutorial titling "What every would be programmer should know before learning their first language" by Clive Scott. Basically this video is about the numbering system used in computers. But the author gives quite a good explanation of how the numbering system works and why binary number system is used in computers. Then the conversion of numbering system (binary to decimal and decimal to binary) also hex conversion is discussed.

The overall video is a perfect video for a new starter of programming. There is nothing specific to any programming language but it’s a general overview of computer programming and the background theory of what happens when a program is written and the compiled, linked and executed. Like the author says: More...

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

TrueCrypt Free Open Source Encryption Software

Sunday, 10 February 2008 07:23

TrueEncrypt is a free open Source Encryption Software written in C++ programming language. If you haven't used TrueCrypt before but need to protect confidential information and documents then I can totally propose to use this Free Software. The latest version has the ability to encrypt the whole drive on windows operating system. So without the password (which you set to encrypt the drive), you can not run your windows operating system.

This free open source software is available for windows including (XP and Vista). It is also available for Linux and Mac OS X. Currently the software uses three types of encryption techniques. They are Whirlpool, SHA-512, RIPEMD-160.

One of the features of the software is to encrypt/decrypt the files on the fly. It means that the software can encrypt or decrypt the files in real time. An example could be a video file or a program setup file. When user double clicks on the files to run it, it is decrypted at real time and the program is run from the RAM. I have never seen any software before. I would suggest you to read through the Documentation section before you download the free program.

Here are the links you would be interested in.

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
 
Copyright © by MYCPLUS. All rights reserved. #