Views
Important instructions for programs using math.h library function
Welcome to my blog :-) .If you're new here, you may want to subscribe to my full RSS feed. Thanks for visiting!
if your program uses math.h header file then sometimes the compilation will lead to errors.In such cases you have to suffix -lm to the compilation file command
Usage
cc filename.c -lm
lm means link mathematical header file.Note that this step is not always required use it only if your program is correct and compilation is leading to errors.
and all other procedures are same.
Read More
Views
Advantages of running c in Linux/Unix-1
C is strongly linked with linux/unix .The kernel of Unix/Linux is written in C.Running C in linux/unit has several advantages .The most important among it is full word length utilization.
Consider the following C program
1 2 3 4 5 6 7 8 9 | #include<stdio.h> int main() { int a; float b; printf("Size of int datatype =%d bits\n",(sizeof(a)*8)); printf("Size of float datatype =%d bits\n",(sizeof(b)*8)); return 1; } |
Views
C in linux/unix-First step
First let’s learn how to run a c program in linux/unix.Nearly every distro support’s running c programs.
First thing is to type the c program.you can use any editor you want but here i use vi editor which comes with allmost all distro
vi editor
To create a new c file or to open an existing c file,type vi followed by filename.c
ex:
[student@localhost student]$vi adi.c
will create a new file adi.c or will open an exisiting file adi.c if it’s present
now press insert key to edit or modify or add new content
after you complete writing the program,press Esc key and type :w (colen w) and press enter to save the file then press :q (colen q) and press enter to exit the vi editor.
Read More
Views
Changing CD/DVD/Floppy Drive(s) label and icon
Bored of seeing the name something like “DVD-RW Drive” for your CD/DVD drive….?
wanna change the name to something like Sony or Samsung drive…?
You can change the icon of the harddisk by using autorun.inf or desktop.ini file but how to do so in case of CD/DVD/Floppy drive when the disc is not inserted…..?

Well there is a reg hack solution for all these…
Just follow this tut….
Read More
Views
Adding ShoutBox in wordpress
A shoutbox, saybox, tagboard, or chatterbox is a chat-like feature of some websites that allows people to quickly leave messages on the website, generally without any form of user registration.

A shoutbox is of immense use if you want to interact with your readers quickly…
Let’s learn how to do it in case of Wordpress blogs….
- Download the Shoutbox plugin from http://pierre.sudarovich.free.fr/upload/File/wordspew-intl.zip
- Upload it to your wordpress plugins directory i.e,wp-content/plugins/ directory
- Activate the plugin

