C program to get the ascii string from a string

2012-07-25 1 min read C Programs
Example diagram of the printf function in the C programming language (Photo credit: Wikipedia) Lot of times, you would like to get the complete string in hex or ascii format and if you are one of them then this is something that will be helpful for you 🙂 Example output: lp-amita[d=~/bin]> ./ascii aamit String – aamit, Length – 5 String : aamit Hex : 0x61616d6974 Dec : 9797109105116 And the source code: Continue reading

10 Keyboard Techniques To Create Cool Symbols

2010-04-03 3 min read Linux
<img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Thumbnail3.png" alt="Thumbnail" align="bottom" />All of us use the keyboard to create symbols daily. Look at the thumbnail. That’s a simple symbol created with just four keys. Symbols existed even before the alphabets. Over the years they have been part of folklore, myths and legends. Some have stayed on as indelible marks. Some, like the swastika, are better forgotten. Symbols have remained potent. If you doubt their visual power, then look no further than logos. Continue reading