ALT_IMG

You are the cause of my pain

You are the cause of my pain, yet the love I feel for you is my only consolation, my only cure..

ALT_IMG

Saw the girl, whom once I thought as my best friend

Remembering my classmates, after few years, My eyes were filled with tears, Everyone is busy a lot, No one escaped destiny's plot, Saw the girl, whom once I thought as my best friend, Today she is some body else's girl friend, After months remembered about her for a little while, Heard she is happy, that made me smile.

Alt img

It’s been raining since you left me

It’s been raining since you left me, now I’m drowning in the flood. You see, I’ve always been a fighter, but without you I give up.

ALT_IMG

Sweet Heart

Sweetheart.....I miss ......THe whisper of your voice...The warmth of your touch and all the wonderful times that we shared together.......

ALT_IMG

When I see you

When I see you smile and know that it's not for me, that's when I miss you the most.

Wednesday, June 1, 2011

To Perform Matrix Multiplication in C

0 comments
/*To perform matrix multiplication*/
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int p,q,m,n,i,j,k;
int a[25][25],b[25][25],c[25][25];
/*Enter the order of matrices*/
printf("Enter the order of matrix A (m,n)\n");
scanf("%d%d",&m,&n);
printf("Enter order of matrix B (p,q) \n");
scanf("%d%d",&p,&q);
if(n!=p)
{
printf("matrices not compatible");
}
if(n==p)
{
/*Enter the elements of matrices*/
printf("enter the elements of matrix A");
for(i=1;i<=m;i++)
{
for(j=1;j<=n;j++)
{
scanf(%d",&a[i][j]);
}
}
printf("enter the elements of B");
for(i=1;i<=p;i++)
{
for(j=1;j<=q;j++)
{
scanf("%d",&b[i][j]);
}
}
printf("The product of two matrices A&B \n");
for(i=1;i<=m;i=i+1)
{
for(j=1;j<=q;j=j+1)
{
for(k=1;k<=n;k=k+1)
{
c[i][j]=0;
}
}
}
for(i=1;i<=m;i=i+1)
{
j=1;j<=q;j=j+1)
{
for(k=1;K<=n;k=k+1)
{
c[i][j]=c[i][j]+(a[i][k]*b[k][j]);
}
}
}
for(i=1;i<=m;i++)
{
for(j=1;j<=q;j++)
{
printf("%d",c[i][j]);
}
printf("%d",c[i][j]);
}
}
getch();
}


Click here for Algorithm of Matrix multiplication
Continue reading →
Friday, January 14, 2011

How to add flash tag cloud widget to yuor blog

0 comments
If you want a flash tag cloud to your blog,then follow the below steps.

  1. Back up your template
   2.    Copy the below code

<b:widget id='Label99' locked='false' title='Labels' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<script src='http://sites.google.com/site/bloggerustemplatus/code/swfobject.js' type='text/javascript'/>
<div id='flashcontent'>Blogumulus by <a href='http://www.roytanck.com/'>Roy Tanck</a> and <a href='http://www.bloggerbuster.com'>Amanda Fazani</a></div>
<script type='text/javascript'>
var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);
// uncomment next line to enable transparency
//so.addParam(&quot;wmode&quot;, &quot;transparent&quot;);
so.addVariable(&quot;tcolor&quot;, &quot;0xFF3333&quot;);
so.addVariable(&quot;mode&quot;, &quot;tags&quot;);
so.addVariable(&quot;distr&quot;, &quot;true&quot;);
so.addVariable(&quot;tspeed&quot;, &quot;100&quot;);
so.addVariable(&quot;tagcloud&quot;, &quot;<tags><b:loop values='data:labels' var='label'><a expr:href='data:label.url' style='12'><data:label.name/></a></b:loop></tags>&quot;);
so.addParam(&quot;allowScriptAccess&quot;, &quot;always&quot;);
so.write(&quot;flashcontent&quot;);
</script>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>


        3.    Past the above code just under the code 

<b:section class='sidebar' id='sidebarright' preferred='yes'>

      4.    Preview,check working correctly then save the template


Customise your flash tag cloud widget

Background color

code: var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);

Find for the above code ,replace the part highlighted in red color with your HEX(hexadecimal) color.

Width

code: var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);
Change the highlighted part

Hight

code: var so = new SWFObject(&quot;http://sites.google.com/site/bloggerustemplatus/code/tagcloud.swf&quot;, &quot;tagcloud&quot;, &quot;280&quot;, &quot;250&quot;, &quot;7&quot;, &quot;00CCFF&quot;);

If you want change the hight of widget,edit the highlighted part.

Font color

code: so.addVariable(&quot;tcolor&quot;, &quot;0xFF3333&quot;);

Find the above code and replace the highlighted part with your HEX color

Take a look

Please add your comments!
Continue reading →

When monetizing your blog?

0 comments
                                          A lot of people think that starting a blog can earn money easily.This is wrong mindset.Earning money through blog is not as easy as it seems.A lot of studies,consideration as well as effort is needed before you can successfully make your first buck online


                               Nowadays,you can find out a lot of money making blogs which teach you how to make money online.But the fact is most of people will be disappointed of the results as they are comparing themselves to the money making blog authors.
                                when is the best times to monetize your blog?.In my opinion

  1. Your blog is at least 3 months old. 
  2. Your blog is active and with an average Potential traffic.
  3. Your blog can attract targeted audience for targeted advertising.
  4. Choose a potential niche for your blog


You can start by putting just one ad in the beginning and make sure you do not clutter your blog with full of ads as it may stop your potential readers to visit your blog in the future.Start experimenting more into monetizing your blog when your blog traffic grows.Do not forget,it takes a lot of time and effort to let your blog grows.


Please add your comments

Continue reading →