133
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

310
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;
}

Read More

145
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

289
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…..?

Changing CD/DVD/Floppy Drive(s) label and icon

Well there is a reg hack solution for all these… :wink: Just follow this tut….
Read More

347
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.

 

Free Image Hosting at www.ImageShack.us

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….

Page 4 of 7« First...«23456»...Last »

Shout at me :p

Last Message 1 week ago
1 guest is online.
  • Info : Please, resolve the addition below before post any new comment...
  • test45355243 : 3535435
  • test5q552525325243 : 35435435
  • test5q5525253252 : 2554325
  • test5q55252 : 5525235
  • test5q5 : q5q5
  • test : 5w5
  • Orwykzge : Wonderfull great site <a href=" «link» ">sex freaks xxx</a> >:PPP
  • Pierre : Your shoutbox is blank. Add a message!

What I'm Doing...

Posting tweet...