Monday, 6 September 2010
Saturday, 1 May 2010
Hello world in C
/* Program to print hello world to the screen */ /* title */
#include <stdio.h> /* import library file */
main() /* Main function */
{
printf(“Hello world”); /*out put statement */
}
how to compile the code into a executable file suppose you are using gcc and the source code file is helloworld.c,you need to do is simply type:gcc helloworld –o helloworld
You would have a new file named helloworld in the same folder as the source file saved.
Saturday, 17 April 2010
Image Compress websites
punypng
http://www.gracepointafterfive.com/punypng/
PunyPNG is a free website optimization tool that dramatically
reduces the file size of your images without any loss of quality.
Smush.it™
http://developer.yahoo.com/yslow/smushit/
Image optimization is an art few have mastered. Useful image editing tools exist that allow images to be edited to reduce their file size while retaining image quality. Using these tools is a good start for optimizing images, but more can be done using advanced tools like Smush.it.
OptiPNG: Advanced PNG Optimizer
http://optipng.sourceforge.net/
OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. This program also converts external formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks and corrections.